Changeset 83946 in webkit


Ignore:
Timestamp:
Apr 14, 2011 10:19:26 PM (13 years ago)
Author:
abarth@webkit.org
Message:

2011-04-14 Alok Priyadarshi <alokp@chromium.org>

Reviewed by Adam Barth.

Remove dependency on chromium skia::PlatformCanvas
https://bugs.webkit.org/show_bug.cgi?id=57563


Fixed compile error on Mac when using Core Graphics.

  • DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::paintRect):
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r83941 r83946  
     12011-04-14  Alok Priyadarshi  <alokp@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        Remove dependency on chromium skia::PlatformCanvas
     6        https://bugs.webkit.org/show_bug.cgi?id=57563
     7       
     8        Fixed compile error on Mac when using Core Graphics.
     9
     10        * DumpRenderTree/chromium/WebViewHost.cpp:
     11        (WebViewHost::paintRect):
     12
    1132011-04-14  Alok Priyadarshi  <alokp@chromium.org>
    214
  • trunk/Tools/DumpRenderTree/chromium/WebViewHost.cpp

    r83941 r83946  
    14711471    m_isPainting = true;
    14721472#if PLATFORM(CG)
    1473     webWidget()->paint(canvas()->getTopPlatformDevice().GetBitmapContext(), rect);
     1473    webWidget()->paint(skia::BeginPlatformPaint(canvas()), rect);
     1474    skia::EndPlatformPaint(canvas());
    14741475#else
    14751476    webWidget()->paint(canvas(), rect);
Note: See TracChangeset for help on using the changeset viewer.