diff options
Diffstat (limited to 'Source/WebKit2/WebProcess/WebPage/win/WebInspectorWin.cpp')
-rw-r--r-- | Source/WebKit2/WebProcess/WebPage/win/WebInspectorWin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebKit2/WebProcess/WebPage/win/WebInspectorWin.cpp b/Source/WebKit2/WebProcess/WebPage/win/WebInspectorWin.cpp index 3ae0dae..5ada45d 100644 --- a/Source/WebKit2/WebProcess/WebPage/win/WebInspectorWin.cpp +++ b/Source/WebKit2/WebProcess/WebPage/win/WebInspectorWin.cpp @@ -28,6 +28,7 @@ #if ENABLE(INSPECTOR) +#include "WebKitBundle.h" #include <wtf/RetainPtr.h> #include <wtf/text/WTFString.h> @@ -35,7 +36,7 @@ namespace WebKit { String WebInspector::localizedStringsURL() const { - RetainPtr<CFURLRef> localizedStringsURLRef(AdoptCF, CFBundleCopyResourceURL(CFBundleGetBundleWithIdentifier(CFSTR("com.apple.WebKit")), CFSTR("localizedStrings"), CFSTR("js"), 0)); + RetainPtr<CFURLRef> localizedStringsURLRef(AdoptCF, CFBundleCopyResourceURL(webKitBundle(), CFSTR("localizedStrings"), CFSTR("js"), 0)); if (!localizedStringsURLRef) return String(); |