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

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

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 | « no previous file | third_party/WebKit/Source/core/dom/CharacterData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/CharacterData.h
diff --git a/third_party/WebKit/Source/core/dom/CharacterData.h b/third_party/WebKit/Source/core/dom/CharacterData.h
index 5c9c9466712412e8f374766f13cdcf40da8c8f6a..ce776559e93eadda37393ed56903faf830e8bc56 100644
--- a/third_party/WebKit/Source/core/dom/CharacterData.h
+++ b/third_party/WebKit/Source/core/dom/CharacterData.h
@@ -42,9 +42,8 @@ public:
void appendData(const String&);
void replaceData(unsigned offset, unsigned count, const String&, ExceptionState&);
- enum RecalcStyleBehavior { DoNotRecalcStyle, DeprecatedRecalcStyleImmediatlelyForEditing };
- void insertData(unsigned offset, const String&, ExceptionState&, RecalcStyleBehavior = DoNotRecalcStyle);
- void deleteData(unsigned offset, unsigned count, ExceptionState&, RecalcStyleBehavior = DoNotRecalcStyle);
+ void insertData(unsigned offset, const String&, ExceptionState&);
+ void deleteData(unsigned offset, unsigned count, ExceptionState&);
bool containsOnlyWhitespace() const;
@@ -78,7 +77,7 @@ private:
void setNodeValue(const String&) final;
bool isCharacterDataNode() const final { return true; }
int maxCharacterOffset() const final;
- void setDataAndUpdate(const String&, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength, UpdateSource = UpdateFromNonParser, RecalcStyleBehavior = DoNotRecalcStyle);
+ void setDataAndUpdate(const String&, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength, UpdateSource = UpdateFromNonParser);
bool isContainerNode() const = delete; // This will catch anyone doing an unnecessary check.
bool isElementNode() const = delete; // This will catch anyone doing an unnecessary check.
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/CharacterData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698