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

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

Issue 215063004: Reset multipliers correctly when autosizing is turned off. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | Source/core/rendering/TextAutosizer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/TextAutosizer.h
diff --git a/Source/core/rendering/TextAutosizer.h b/Source/core/rendering/TextAutosizer.h
index 0f69e25757cf90e4b048f27d574fed0ba248c828..922dbc953f3bc5f055bc4da3c8304826dfe164d7 100644
--- a/Source/core/rendering/TextAutosizer.h
+++ b/Source/core/rendering/TextAutosizer.h
@@ -139,6 +139,8 @@ private:
// Mapping from a cluster hash to the corresponding cluster infos which have not been autosized yet.
HashMap<unsigned, OwnPtr<Vector<TextAutosizingClusterInfo> > > m_nonAutosizedClusters;
+
+ bool m_previouslyAutosized;
esprehn 2014/03/27 23:10:16 You don't initialize this in the constructor.
pdr. 2014/03/27 23:12:04 Do we need to initialize this?
skobes 2014/03/27 23:17:24 Done.
skobes 2014/03/27 23:17:24 Done.
};
} // namespace WebCore
« no previous file with comments | « no previous file | Source/core/rendering/TextAutosizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698