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

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

Issue 2844253002: Remove unused AttachContext parameter. (Closed)
Patch Set: Created 3 years, 8 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 be3cf7efa3d3a05aabfd8fa8ca68f6885e2c9ab7..13c23dd9755c8fc26c7fc7fcbb748d5c3df3bfe2 100644
--- a/third_party/WebKit/Source/core/dom/Text.cpp
+++ b/third_party/WebKit/Source/core/dom/Text.cpp
@@ -368,7 +368,7 @@ void Text::AttachLayoutTree(const AttachContext& context) {
CharacterData::AttachLayoutTree(context);
}
-void Text::ReattachLayoutTreeIfNeeded(const AttachContext& context) {
+void Text::ReattachLayoutTreeIfNeeded() {
bool layout_object_is_needed = false;
ContainerNode* style_parent = LayoutTreeBuilderTraversal::Parent(*this);
LayoutObject* parent_layout_object =
@@ -385,7 +385,7 @@ void Text::ReattachLayoutTreeIfNeeded(const AttachContext& context) {
// The following is almost the same as Node::reattachLayoutTree() except that
// we create a layoutObject only if needed. Not calling reattachLayoutTree()
// to avoid repeated calls to Text::textLayoutObjectIsNeeded().
- AttachContext reattach_context(context);
+ AttachContext reattach_context;
reattach_context.performing_reattach = true;
if (GetStyleChangeType() < kNeedsReattachStyleChange)
« 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