Changeset 185372 in webkit


Ignore:
Timestamp:
Jun 9, 2015 12:29:57 PM (9 years ago)
Author:
Csaba Osztrogonác
Message:

Fix unused private field warning in GraphicsLayerUpdater.h
https://bugs.webkit.org/show_bug.cgi?id=145757

Reviewed by Darin Adler.

  • platform/graphics/GraphicsLayerUpdater.cpp:

(WebCore::GraphicsLayerUpdater::GraphicsLayerUpdater):

  • platform/graphics/GraphicsLayerUpdater.h:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r185369 r185372  
     12015-06-09  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        Fix unused private field warning in GraphicsLayerUpdater.h
     4        https://bugs.webkit.org/show_bug.cgi?id=145757
     5
     6        Reviewed by Darin Adler.
     7
     8        * platform/graphics/GraphicsLayerUpdater.cpp:
     9        (WebCore::GraphicsLayerUpdater::GraphicsLayerUpdater):
     10        * platform/graphics/GraphicsLayerUpdater.h:
     11
    1122015-06-09  Yusuke Suzuki  <utatane.tea@gmail.com>
    213
  • trunk/Source/WebCore/platform/graphics/GraphicsLayerUpdater.cpp

    r182985 r185372  
    3232namespace WebCore {
    3333
     34#if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)
    3435GraphicsLayerUpdater::GraphicsLayerUpdater(GraphicsLayerUpdaterClient& client, PlatformDisplayID displayID)
    3536    : m_client(client)
    3637{
    37 #if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)
    3838    DisplayRefreshMonitorManager::sharedManager().registerClient(*this);
    3939    DisplayRefreshMonitorManager::sharedManager().windowScreenDidChange(displayID, *this);
    4040    DisplayRefreshMonitorManager::sharedManager().scheduleAnimation(*this);
     41}
    4142#else
    42     UNUSED_PARAM(displayID);
     43GraphicsLayerUpdater::GraphicsLayerUpdater(GraphicsLayerUpdaterClient&, PlatformDisplayID)
     44{
     45}
    4346#endif
    44 }
    4547
    4648GraphicsLayerUpdater::~GraphicsLayerUpdater()
  • trunk/Source/WebCore/platform/graphics/GraphicsLayerUpdater.h

    r182985 r185372  
    6262#if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR)
    6363    virtual void displayRefreshFired(double timestamp) override;
     64    GraphicsLayerUpdaterClient& m_client;
    6465#endif
    65 
    66     GraphicsLayerUpdaterClient& m_client;
    6766    bool m_scheduled { false };
    6867};
Note: See TracChangeset for help on using the changeset viewer.