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

Unified Diff: third_party/WebKit/Source/core/inspector/LayoutEditor.cpp

Issue 2468803002: [DevTools] migrate InspectorDOMAgent to new style (Closed)
Patch Set: addressed comments and rebased Created 4 years, 1 month 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/LayoutEditor.cpp
diff --git a/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp b/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp
index d9e07423163396edc3d64d84061b3b5ad328ff9f..90566eb71e1521ea88b417a4c2a0821c95c4d815 100644
--- a/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp
+++ b/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp
@@ -146,8 +146,7 @@ void LayoutEditor::dispose() {
if (!m_isDirty)
return;
- ErrorString errorString;
- m_domAgent->undo(&errorString);
+ m_domAgent->undo();
}
DEFINE_TRACE(LayoutEditor) {
@@ -346,8 +345,7 @@ void LayoutEditor::commitChanges() {
return;
m_isDirty = false;
- ErrorString errorString;
- m_domAgent->markUndoableState(&errorString);
+ m_domAgent->markUndoableState();
}
void LayoutEditor::nextSelector() {

Powered by Google App Engine
This is Rietveld 408576698