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

Unified Diff: third_party/WebKit/Source/core/dom/ContextFeatures.h

Issue 1850413002: Improve DEFINE_STATIC_LOCAL()'s handling of Blink GCed objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address compilation failure Created 4 years, 8 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/core/dom/ContextFeatures.h
diff --git a/third_party/WebKit/Source/core/dom/ContextFeatures.h b/third_party/WebKit/Source/core/dom/ContextFeatures.h
index 796d763b5e7a5b0b416845a48a457c9e1718490f..f2cf28bf007e9eaf5a793b8934ce03450f1cbb66 100644
--- a/third_party/WebKit/Source/core/dom/ContextFeatures.h
+++ b/third_party/WebKit/Source/core/dom/ContextFeatures.h
@@ -29,6 +29,7 @@
#include "core/CoreExport.h"
#include "core/page/Page.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -46,7 +47,7 @@ public:
};
static const char* supplementName();
- static ContextFeatures* defaultSwitch();
+ static ContextFeatures& defaultSwitch();
static RawPtr<ContextFeatures> create(PassOwnPtr<ContextFeaturesClient>);
static bool pagePopupEnabled(Document*);
« no previous file with comments | « third_party/WebKit/Source/core/dom/ChildListMutationScope.cpp ('k') | third_party/WebKit/Source/core/dom/ContextFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698