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

Unified Diff: third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.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/html/shadow/TextControlInnerElements.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp b/third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp
index 7ba751e3102ccd2b7daa657b691c6efb7d9aec43..94e72359cc599409e8e86f4adda235af8c16f12c 100644
--- a/third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp
@@ -87,7 +87,7 @@ PassRefPtr<ComputedStyle> EditingViewPortElement::customStyleForLayoutObject() {
// We don't want the shadow dom to be editable, so we set this block to
// read-only in case the input itself is editable.
style->setUserModify(READ_ONLY);
- style->setUnique();
+ style->setUnique(true);
if (const ComputedStyle* parentStyle = parentComputedStyle())
StyleAdjuster::adjustStyleForAlignment(*style, *parentStyle);

Powered by Google App Engine
This is Rietveld 408576698