Call incrementStatsCounter directly
Created attachment 135319 [details] Patch
Comment on attachment 135319 [details] Patch OK!
Comment on attachment 135319 [details] Patch Clearing flags on attachment: 135319 Committed r113034: <http://trac.webkit.org/changeset/113034>
All reviewed patches have been landed. Closing bug.
Comment on attachment 135319 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=135319&action=review > Source/WebCore/bindings/v8/V8Proxy.h:49 > -#define INC_STATS(name) PlatformSupport::incrementStatsCounter(name) > +#define INC_STATS(name) webkitPlatformSupport()->incrementStatsCounter(name) Does this compile with ENABLE_DOM_STATS_COUNTERS enabled? webkitPlatformSupport shouldn't be visible outside the WebKit layer, but this macro is used in WebCore.
Comment on attachment 135319 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=135319&action=review >> Source/WebCore/bindings/v8/V8Proxy.h:49 >> +#define INC_STATS(name) webkitPlatformSupport()->incrementStatsCounter(name) > > Does this compile with ENABLE_DOM_STATS_COUNTERS enabled? webkitPlatformSupport shouldn't be visible outside the WebKit layer, but this macro is used in WebCore. Ah, good point, the indirection call is necessary. May I roll the patch out?
> Ah, good point, the indirection call is necessary. May I roll the patch out? I don't think anyone commonly builds this configuration, so we might want to wait for Mark to fix it.
(In reply to comment #7) > > Ah, good point, the indirection call is necessary. May I roll the patch out? > > I don't think anyone commonly builds this configuration, so we might want to wait for Mark to fix it. Fix is bug 83109.