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

Unified Diff: third_party/WebKit/Source/core/layout/TextAutosizer.cpp

Issue 2677843002: Change ComputedStyle::setUnique to take bool parameter. (Closed)
Patch Set: Created 3 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/layout/TextAutosizer.cpp
diff --git a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
index 6e082fd93d97a99aa597e837d833952fc895bf03..6de03a4322667ad0692ce19c7b5834882c7260f9 100644
--- a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
+++ b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
@@ -1163,7 +1163,7 @@ void TextAutosizer::applyMultiplier(LayoutObject* layoutObject,
// We need to clone the layoutObject style to avoid breaking style sharing.
RefPtr<ComputedStyle> style = ComputedStyle::clone(currentStyle);
style->setTextAutosizingMultiplier(multiplier);
- style->setUnique();
+ style->setUnique(true);
switch (relayoutBehavior) {
case AlreadyInLayout:

Powered by Google App Engine
This is Rietveld 408576698