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

Unified Diff: Source/core/rendering/RootInlineBox.h

Issue 40733004: Replace compile flag with runtime check for text-underline-position (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed a typo in static function compileUnderlineOffset signature / Rebase Created 7 years, 2 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: Source/core/rendering/RootInlineBox.h
diff --git a/Source/core/rendering/RootInlineBox.h b/Source/core/rendering/RootInlineBox.h
index 53397c4bc8b35050aa415dcb21ef978bde9a4f43..3790532b55d26a443ac69e8d1951ed904b95f570 100644
--- a/Source/core/rendering/RootInlineBox.h
+++ b/Source/core/rendering/RootInlineBox.h
@@ -181,10 +181,8 @@ public:
return InlineFlowBox::logicalBottomLayoutOverflow(lineBottom());
}
-#if ENABLE(CSS3_TEXT)
// Used to calculate the underline offset for TextUnderlinePositionUnder.
float maxLogicalTop() const;
-#endif // CSS3_TEXT
Node* getLogicalStartBoxWithNode(InlineBox*&) const;
Node* getLogicalEndBoxWithNode(InlineBox*&) const;

Powered by Google App Engine
This is Rietveld 408576698