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

Unified Diff: third_party/WebKit/Source/core/frame/DOMWindowTimers.cpp

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/frame/DOMWindowTimers.cpp
diff --git a/third_party/WebKit/Source/core/frame/DOMWindowTimers.cpp b/third_party/WebKit/Source/core/frame/DOMWindowTimers.cpp
index d2c6c6e7383a6c361748cda4d714bdacc8326a27..24e1ee334a0e79d7dc15d6434a3594abfa8c9c73 100644
--- a/third_party/WebKit/Source/core/frame/DOMWindowTimers.cpp
+++ b/third_party/WebKit/Source/core/frame/DOMWindowTimers.cpp
@@ -75,7 +75,7 @@ int setTimeout(ScriptState* scriptState, EventTarget& eventTarget, const ScriptV
// be done using the scheduler instead.
V8GCForContextDispose::instance().notifyIdle();
}
- OwnPtrWillBeRawPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler, arguments);
+ RawPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler, arguments);
return DOMTimer::install(executionContext, action.release(), timeout, true);
}
@@ -93,7 +93,7 @@ int setTimeout(ScriptState* scriptState, EventTarget& eventTarget, const String&
// be done using the scheduler instead.
V8GCForContextDispose::instance().notifyIdle();
}
- OwnPtrWillBeRawPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler);
+ RawPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler);
return DOMTimer::install(executionContext, action.release(), timeout, true);
}
@@ -102,7 +102,7 @@ int setInterval(ScriptState* scriptState, EventTarget& eventTarget, const Script
ExecutionContext* executionContext = eventTarget.getExecutionContext();
if (!isAllowed(scriptState, executionContext, false))
return 0;
- OwnPtrWillBeRawPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler, arguments);
+ RawPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler, arguments);
return DOMTimer::install(executionContext, action.release(), timeout, false);
}
@@ -115,7 +115,7 @@ int setInterval(ScriptState* scriptState, EventTarget& eventTarget, const String
// perfomance issue.
if (handler.isEmpty())
return 0;
- OwnPtrWillBeRawPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler);
+ RawPtr<ScheduledAction> action = ScheduledAction::create(scriptState, handler);
return DOMTimer::install(executionContext, action.release(), timeout, false);
}

Powered by Google App Engine
This is Rietveld 408576698