Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h

Issue 2617733004: binding: Changes the association among global-proxy/global/window-instance. (Closed)
Patch Set: Fixed Document.defaultView Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
index 56c23b3d82983eb114c1daccfd2476a8b6d69e5d..a45491ba8d4ebb7628cd6213424ced36f8c93af9 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
+++ b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
@@ -142,11 +142,11 @@ struct WrapperTypeInfo {
return domTemplateFunction(isolate, world);
}
- void wrapperCreated() const {
+ static void wrapperCreated() {
ThreadState::current()->heap().heapStats().increaseWrapperCount(1);
}
- void wrapperDestroyed() const {
+ static void wrapperDestroyed() {
ThreadHeapStats& heapStats = ThreadState::current()->heap().heapStats();
heapStats.decreaseWrapperCount(1);
heapStats.increaseCollectedWrapperCount(1);

Powered by Google App Engine
This is Rietveld 408576698