Changeset 93043 in webkit


Ignore:
Timestamp:
Aug 15, 2011 8:01:50 AM (13 years ago)
Author:
Adam Roben
Message:

Rename an instance of pageScaleFactorChanged I missed in r93040

I tried to make a test for this but failed. It would probably have been easier if we dumped
layers' content scales in layerTreeAsText output.

Followup to <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to
the device scale factor

  • platform/graphics/ca/GraphicsLayerCA.cpp:

(WebCore::GraphicsLayerCA::deviceOrPageScaleFactorChanged):

  • platform/graphics/ca/GraphicsLayerCA.h:

Renamed from pageScaleFactorChanged to match the base class.

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r93042 r93043  
     12011-08-15  Adam Roben  <aroben@apple.com>
     2
     3        Rename an instance of pageScaleFactorChanged I missed in r93040
     4
     5        I tried to make a test for this but failed. It would probably have been easier if we dumped
     6        layers' content scales in layerTreeAsText output.
     7
     8        Followup to <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to
     9        the device scale factor
     10
     11        * platform/graphics/ca/GraphicsLayerCA.cpp:
     12        (WebCore::GraphicsLayerCA::deviceOrPageScaleFactorChanged):
     13        * platform/graphics/ca/GraphicsLayerCA.h:
     14        Renamed from pageScaleFactorChanged to match the base class.
     15
    1162011-08-15  Pavel Feldman  <pfeldman@google.com>
    217
  • trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp

    r93040 r93043  
    24862486}
    24872487
    2488 void GraphicsLayerCA::pageScaleFactorChanged()
     2488void GraphicsLayerCA::deviceOrPageScaleFactorChanged()
    24892489{
    24902490    noteChangesForScaleSensitiveProperties();
  • trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h

    r92651 r93043  
    123123
    124124    virtual void setMaintainsPixelAlignment(bool);
    125     virtual void pageScaleFactorChanged();
     125    virtual void deviceOrPageScaleFactorChanged();
    126126
    127127    void recursiveCommitChanges(const TransformState&, float pageScaleFactor = 1, const FloatPoint& positionRelativeToBase = FloatPoint(), bool affectedByPageScale = false);
Note: See TracChangeset for help on using the changeset viewer.