Chromium Code Reviews| Index: Source/core/rendering/FastTextAutosizer.h |
| diff --git a/Source/core/rendering/FastTextAutosizer.h b/Source/core/rendering/FastTextAutosizer.h |
| index d502164cd447fb6a33bab6ef4b883755182ce9d0..eee240b75d841d7395b69f3c23f061b96bcc64f8 100644 |
| --- a/Source/core/rendering/FastTextAutosizer.h |
| +++ b/Source/core/rendering/FastTextAutosizer.h |
| @@ -99,7 +99,7 @@ private: |
| explicit FastTextAutosizer(Document*); |
| bool enabled(); |
| - void prepareWindowInfo(RenderView*); |
| + void prepareRenderViewInfo(RenderView*); |
| bool shouldBeClusterRoot(RenderBlock*); |
| bool clusterWantsAutosizing(RenderBlock*); |
| AtomicString computeFingerprint(RenderBlock*); |
| @@ -113,6 +113,10 @@ private: |
| Document* m_document; |
| int m_windowWidth; // Frame width in density-independent pixels (DIPs). |
| int m_layoutWidth; // Layout width in CSS pixels. |
| + float m_additionalMultiplier; // Includes accessibility font scale factor and device scale adjustment. |
|
skobes
2014/01/13 19:10:13
Perhaps "m_baseMultiplier"?
pdr.
2014/01/13 19:49:12
I like it. Done.
|
| +#ifndef NDEBUG |
|
skobes
2014/01/13 19:10:13
Is the compiler not smart enough to strip out an u
pdr.
2014/01/13 19:49:12
Nowhere near smart enough :)
There are two reason
|
| + bool m_renderViewInfoPrepared; // Used for assertions. |
| +#endif |
| // Clusters are created and destroyed during layout. The map key is the |
| // cluster root. Clusters whose roots share the same fingerprint use the |