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

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

Issue 1253543003: Cleanup LayoutTextControl and its subclasses. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/layout/LayoutTextControlSingleLine.h
diff --git a/Source/core/layout/LayoutTextControlSingleLine.h b/Source/core/layout/LayoutTextControlSingleLine.h
index e8c3171b14b4d545b7002b42d80eaf4a64f44fa1..559efa3f0ab29b41b905e7146f86b552821267a5 100644
--- a/Source/core/layout/LayoutTextControlSingleLine.h
+++ b/Source/core/layout/LayoutTextControlSingleLine.h
@@ -67,7 +67,7 @@ private:
void setScrollTop(LayoutUnit) final;
int textBlockWidth() const;
- float getAvgCharWidth(AtomicString family) final;
+ float getAvgCharWidth(const AtomicString& family) const final;
LayoutUnit preferredContentLogicalWidth(float charWidth) const final;
LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const override;
« no previous file with comments | « Source/core/layout/LayoutTextControlMultiLine.cpp ('k') | Source/core/layout/LayoutTextControlSingleLine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698