summaryrefslogtreecommitdiff
path: root/Source/WebKit/mac/WebView/WebHTMLView.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/mac/WebView/WebHTMLView.mm')
-rw-r--r--Source/WebKit/mac/WebView/WebHTMLView.mm5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebKit/mac/WebView/WebHTMLView.mm b/Source/WebKit/mac/WebView/WebHTMLView.mm
index 82716a6c9..8f12e5bf0 100644
--- a/Source/WebKit/mac/WebView/WebHTMLView.mm
+++ b/Source/WebKit/mac/WebView/WebHTMLView.mm
@@ -107,6 +107,7 @@
#import <WebCore/Range.h>
#import <WebCore/RenderWidget.h>
#import <WebCore/RenderView.h>
+#import <WebCore/ResourceBuffer.h>
#import <WebCore/RunLoop.h>
#import <WebCore/RuntimeApplicationChecks.h>
#import <WebCore/SharedBuffer.h>
@@ -2378,7 +2379,7 @@ static String commandNameForSelector(SEL selector)
static const SelectorNameMap* exceptionMap = createSelectorExceptionMap();
SelectorNameMap::const_iterator it = exceptionMap->find(selector);
if (it != exceptionMap->end())
- return it->second;
+ return it->value;
// Remove the trailing colon.
// No need to capitalize the command name since Editor command names are
@@ -3687,7 +3688,7 @@ static bool matchesExtensionOrEquivalent(NSString *filename, NSString *extension
if (WebCore::CachedImage* tiffResource = [self promisedDragTIFFDataSource]) {
- SharedBuffer *buffer = static_cast<CachedResource*>(tiffResource)->data();
+ ResourceBuffer *buffer = static_cast<CachedResource*>(tiffResource)->resourceBuffer();
if (!buffer)
goto noPromisedData;