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

Unified Diff: third_party/WebKit/Source/core/dom/Text.cpp

Issue 2106863006: Get rid of unused parameter RecalcStyleBehavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-06-30T13:23:43 Created 4 years, 6 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Text.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Text.cpp
diff --git a/third_party/WebKit/Source/core/dom/Text.cpp b/third_party/WebKit/Source/core/dom/Text.cpp
index b592b24ec596f23f3ea67e09c69d10587f9a7ec9..9d60fabf9d02825422fe45a600f262678211d94b 100644
--- a/third_party/WebKit/Source/core/dom/Text.cpp
+++ b/third_party/WebKit/Source/core/dom/Text.cpp
@@ -422,16 +422,13 @@ static bool shouldUpdateLayoutByReattaching(const Text& textNode, LayoutText* te
return false;
}
-void Text::updateTextLayoutObject(unsigned offsetOfReplacedData, unsigned lengthOfReplacedData, RecalcStyleBehavior recalcStyleBehavior)
+void Text::updateTextLayoutObject(unsigned offsetOfReplacedData, unsigned lengthOfReplacedData)
{
if (!inActiveDocument())
return;
LayoutText* textLayoutObject = layoutObject();
if (shouldUpdateLayoutByReattaching(*this, textLayoutObject)) {
lazyReattachIfAttached();
- // FIXME: Editing should be updated so this is not neccesary.
- if (recalcStyleBehavior == DeprecatedRecalcStyleImmediatlelyForEditing)
- document().updateStyleAndLayoutTree();
return;
}
textLayoutObject->setTextWithOffset(dataImpl(), offsetOfReplacedData, lengthOfReplacedData);
« no previous file with comments | « third_party/WebKit/Source/core/dom/Text.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698