Changeset 95982 in webkit


Ignore:
Timestamp:
Sep 26, 2011 12:58:00 PM (13 years ago)
Author:
andersca@apple.com
Message:

Remove an old DrawingAreaProxy::paint member function
https://bugs.webkit.org/show_bug.cgi?id=68825

Reviewed by Dan Bernstein.

  • UIProcess/DrawingAreaProxy.h:
  • UIProcess/DrawingAreaProxyImpl.cpp:
  • UIProcess/DrawingAreaProxyImpl.h:
  • UIProcess/TiledDrawingAreaProxy.cpp:
  • UIProcess/TiledDrawingAreaProxy.h:
Location:
trunk/Source/WebKit2
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r95978 r95982  
     12011-09-26  Anders Carlsson  <andersca@apple.com>
     2
     3        Remove an old DrawingAreaProxy::paint member function
     4        https://bugs.webkit.org/show_bug.cgi?id=68825
     5
     6        Reviewed by Dan Bernstein.
     7
     8        * UIProcess/DrawingAreaProxy.h:
     9        * UIProcess/DrawingAreaProxyImpl.cpp:
     10        * UIProcess/DrawingAreaProxyImpl.h:
     11        * UIProcess/TiledDrawingAreaProxy.cpp:
     12        * UIProcess/TiledDrawingAreaProxy.h:
     13
    1142011-09-26  Jer Noble  <jer.noble@apple.com>
    215
  • trunk/Source/WebKit2/UIProcess/DrawingAreaProxy.h

    r95901 r95982  
    5555class WebPageProxy;
    5656
    57 #if PLATFORM(MAC)
    58 typedef CGContextRef PlatformDrawingContext;
    59 #elif PLATFORM(WIN)
    60 typedef HDC PlatformDrawingContext;
    61 #elif PLATFORM(QT)
    62 typedef QPainter* PlatformDrawingContext;
    63 #elif PLATFORM(GTK)
    64 typedef cairo_t* PlatformDrawingContext;
    65 #endif
    66 
    6757class DrawingAreaProxy {
    6858    WTF_MAKE_NONCOPYABLE(DrawingAreaProxy);
     
    7464
    7565    void didReceiveDrawingAreaProxyMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*);
    76 
    77     // Returns true if painting was successful, false otherwise.
    78     virtual bool paint(const WebCore::IntRect&, PlatformDrawingContext) = 0;
    7966
    8067    virtual void deviceScaleFactorDidChange() = 0;
  • trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.cpp

    r95901 r95982  
    107107}
    108108
    109 bool DrawingAreaProxyImpl::paint(const WebCore::IntRect&, PlatformDrawingContext)
    110 {
    111     ASSERT_NOT_REACHED();
    112     return false;
    113 }
    114 
    115109void DrawingAreaProxyImpl::sizeDidChange()
    116110{
  • trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.h

    r95901 r95982  
    5151
    5252    // DrawingAreaProxy
    53     virtual bool paint(const WebCore::IntRect&, PlatformDrawingContext);
    5453    virtual void sizeDidChange();
    5554    virtual void deviceScaleFactorDidChange();
  • trunk/Source/WebKit2/UIProcess/TiledDrawingAreaProxy.cpp

    r95901 r95982  
    117117}
    118118
    119 bool TiledDrawingAreaProxy::paint(const WebCore::IntRect& rect, PlatformDrawingContext context)
    120 {
    121     notImplemented();
    122     return false;
    123 }
    124 
    125 
    126119} // namespace WebKit
    127120
  • trunk/Source/WebKit2/UIProcess/TiledDrawingAreaProxy.h

    r95901 r95982  
    8686
    8787    // DrawingAreaProxy
    88     virtual bool paint(const WebCore::IntRect&, PlatformDrawingContext);
    8988    virtual void sizeDidChange();
    9089    virtual void deviceScaleFactorDidChange();
Note: See TracChangeset for help on using the changeset viewer.