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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/ExecutionContext.h
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.h b/third_party/WebKit/Source/core/dom/ExecutionContext.h
index b41e9b923d6b6529506fbaf6f99df57b481ed28e..88c2fee02dd9158c15879ad5d485b9650787f8de 100644
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.h
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.h
@@ -59,7 +59,7 @@ class SecurityOrigin;
class ScriptCallStack;
class CORE_EXPORT ExecutionContext
- : public ContextLifecycleNotifier, public WillBeHeapSupplementable<ExecutionContext> {
+ : public ContextLifecycleNotifier, public HeapSupplementable<ExecutionContext> {
WTF_MAKE_NONCOPYABLE(ExecutionContext);
public:
DECLARE_VIRTUAL_TRACE();
@@ -106,9 +106,9 @@ public:
KURL contextCompleteURL(const String& url) const { return virtualCompleteURL(url); }
bool shouldSanitizeScriptError(const String& sourceURL, AccessControlStatus);
- void reportException(PassRefPtrWillBeRawPtr<ErrorEvent>, int scriptId, PassRefPtr<ScriptCallStack>, AccessControlStatus);
+ void reportException(RawPtr<ErrorEvent>, int scriptId, PassRefPtr<ScriptCallStack>, AccessControlStatus);
- virtual void addConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) = 0;
+ virtual void addConsoleMessage(RawPtr<ConsoleMessage>) = 0;
virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCallStack>) = 0;
PublicURLManager& publicURLManager();
@@ -158,7 +158,7 @@ public:
ReferrerPolicy getReferrerPolicy() const { return m_referrerPolicy; }
// Override to enable experimental features through origin trials
- virtual PassOwnPtrWillBeRawPtr<OriginTrialContext> createOriginTrialContext();
+ virtual RawPtr<OriginTrialContext> createOriginTrialContext();
protected:
ExecutionContext();
@@ -168,7 +168,7 @@ protected:
virtual KURL virtualCompleteURL(const String&) const = 0;
private:
- bool dispatchErrorEvent(PassRefPtrWillBeRawPtr<ErrorEvent>, AccessControlStatus);
+ bool dispatchErrorEvent(RawPtr<ErrorEvent>, AccessControlStatus);
void runSuspendableTasks();
#if !ENABLE(OILPAN)
@@ -186,7 +186,7 @@ private:
bool m_activeDOMObjectsAreSuspended;
bool m_activeDOMObjectsAreStopped;
- OwnPtrWillBeMember<PublicURLManager> m_publicURLManager;
+ Member<PublicURLManager> m_publicURLManager;
// Counter that keeps track of how many window interaction calls are allowed
// for this ExecutionContext. Callers are expected to call
« no previous file with comments | « third_party/WebKit/Source/core/dom/EmptyNodeList.h ('k') | third_party/WebKit/Source/core/dom/ExecutionContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698