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

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

Issue 2683553002: Fix not autosizing ruby elements issue. (Closed)
Patch Set: 1. fix the dcheck fire when sreen ratated and add test case 2. format TextAutosizerTest 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/LayoutText.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.h b/third_party/WebKit/Source/core/layout/LayoutText.h
index 6c10d9e93cf47b76c37e64d64e72e33beea3ed39..61d72606077adc19637cffddc0f7fc09767fffd1 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.h
+++ b/third_party/WebKit/Source/core/layout/LayoutText.h
@@ -217,6 +217,10 @@ class CORE_EXPORT LayoutText : public LayoutObject {
LayoutRect debugRect() const override;
+ void setKnownToHaveNoOverflowAndNoFallbackFonts(bool known) {
skobes 2017/02/16 02:48:37 I'd write this as: void autosizingMultiplerChan
cathiechentx 2017/02/16 03:17:55 Done.
+ m_knownToHaveNoOverflowAndNoFallbackFonts = known;
+ }
+
protected:
void willBeDestroyed() override;

Powered by Google App Engine
This is Rietveld 408576698