Summary: | WebKit2: Implement WebInspector::localizedStringsURL on Windows | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brian Weinstein <bweinstein> | ||||
Component: | Web Inspector (Deprecated) | Assignee: | Brian Weinstein <bweinstein> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, sam, timothy, yurys | ||||
Priority: | P2 | Keywords: | InRadar, PlatformOnly | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Brian Weinstein
2010-12-12 12:31:55 PST
Created attachment 76332 [details]
[PATCH] Fix
Comment on attachment 76332 [details] [PATCH] Fix View in context: https://bugs.webkit.org/attachment.cgi?id=76332&action=review > WebKit2/WebProcess/WebPage/win/WebInspectorWin.cpp:38 > + RetainPtr<CFURLRef> htmlURLRef(AdoptCF, CFBundleCopyResourceURL(CFBundleGetBundleWithIdentifier(CFSTR("com.apple.WebKit")), CFSTR("localizedStrings"), CFSTR("js"), 0)); > + if (!htmlURLRef) The variable should be localizedStringsURLRef not htmlURLRef. > WebKit2/WebProcess/WebPage/win/WebInspectorWin.cpp:41 > + return String(CFURLGetString(htmlURLRef.get())); Ditto. Comment on attachment 76332 [details] [PATCH] Fix View in context: https://bugs.webkit.org/attachment.cgi?id=76332&action=review >> WebKit2/WebProcess/WebPage/win/WebInspectorWin.cpp:38 >> + if (!htmlURLRef) > > The variable should be localizedStringsURLRef not htmlURLRef. Fixed. |