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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorHistory.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, 10 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/inspector/InspectorHistory.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorHistory.cpp b/third_party/WebKit/Source/core/inspector/InspectorHistory.cpp
index bf12383d1037973d1fef7659d5a98c48e477ddbf..07a0a62c4ac7e147669935131dc8a27ff4c1a685 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorHistory.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorHistory.cpp
@@ -80,13 +80,13 @@ String InspectorHistory::Action::mergeId()
return "";
}
-void InspectorHistory::Action::merge(PassRefPtrWillBeRawPtr<Action>)
+void InspectorHistory::Action::merge(RawPtr<Action>)
{
}
InspectorHistory::InspectorHistory() : m_afterLastActionIndex(0) { }
-bool InspectorHistory::perform(PassRefPtrWillBeRawPtr<Action> action, ExceptionState& exceptionState)
+bool InspectorHistory::perform(RawPtr<Action> action, ExceptionState& exceptionState)
{
if (!action->perform(exceptionState))
return false;
@@ -106,7 +106,7 @@ bool InspectorHistory::perform(PassRefPtrWillBeRawPtr<Action> action, ExceptionS
void InspectorHistory::markUndoableState()
{
- perform(adoptRefWillBeNoop(new UndoableStateMark()), IGNORE_EXCEPTION);
+ perform((new UndoableStateMark()), IGNORE_EXCEPTION);
}
bool InspectorHistory::undo(ExceptionState& exceptionState)

Powered by Google App Engine
This is Rietveld 408576698