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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.h

Issue 1643663002: Conditionally create PaintLayer's scrollable area object (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@PaintLayerClipper
Patch Set: Created 4 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/LayoutTextControlSingleLine.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.h b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.h
index b0a5e7b55bc8ef3dfa4a84662f75bd93805094b4..0059fedee76028dfb286eff4409dac85c219ca92 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.h
@@ -71,6 +71,8 @@ private:
void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final;
void addOverflowFromChildren() final;
+ bool allowsOverflowClip() const override { return false; }
+
bool textShouldBeTruncated() const;
HTMLElement* innerSpinButtonElement() const;

Powered by Google App Engine
This is Rietveld 408576698