Changeset 93433 in webkit


Ignore:
Timestamp:
Aug 19, 2011 1:22:00 PM (13 years ago)
Author:
alokp@chromium.org
Message:

[chromium] Remove dependency of WebThemeControlDRTWin on skia::PlatformCanvas
https://bugs.webkit.org/show_bug.cgi?id=66570

Reviewed by Mihai Parparita.

  • DumpRenderTree/chromium/WebThemeControlDRTWin.cpp:

(WebThemeControlDRTWin::draw):
(WebThemeControlDRTWin::drawTextField):
(WebThemeControlDRTWin::drawProgressBar):

  • DumpRenderTree/chromium/WebThemeControlDRTWin.h:
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r93426 r93433  
     12011-08-19  Alok Priyadarshi  <alokp@chromium.org>
     2
     3        [chromium] Remove dependency of WebThemeControlDRTWin on skia::PlatformCanvas
     4        https://bugs.webkit.org/show_bug.cgi?id=66570
     5
     6        Reviewed by Mihai Parparita.
     7
     8        * DumpRenderTree/chromium/WebThemeControlDRTWin.cpp:
     9        (WebThemeControlDRTWin::draw):
     10        (WebThemeControlDRTWin::drawTextField):
     11        (WebThemeControlDRTWin::drawProgressBar):
     12        * DumpRenderTree/chromium/WebThemeControlDRTWin.h:
     13
    1142011-08-18  Dmitry Lomov  <dslomov@google.com>
    215
  • trunk/Tools/DumpRenderTree/chromium/WebThemeControlDRTWin.cpp

    r88420 r93433  
    3838#include "WebThemeControlDRTWin.h"
    3939
    40 #include "skia/ext/platform_canvas.h"
    4140#include "skia/ext/skia_utils_win.h"
     41#include "third_party/skia/include/core/SkCanvas.h"
    4242#include "third_party/skia/include/core/SkPaint.h"
    4343#include "third_party/skia/include/core/SkPath.h"
     
    304304    const int sliderIndent = 2;
    305305
    306     skia::BeginPlatformPaint(m_canvas);
    307 
    308306    switch (m_type) {
    309307    case UnknownType:
     
    487485
    488486    markState();
    489     skia::EndPlatformPaint(m_canvas);
    490487}
    491488
     
    497494    SkPaint paint;
    498495
    499     skia::BeginPlatformPaint(m_canvas);
    500496    if (fillContentArea) {
    501497        paint.setColor(color);
     
    510506
    511507    markState();
    512     skia::EndPlatformPaint(m_canvas);
    513508}
    514509
     
    517512    SkPaint paint;
    518513
    519     skia::BeginPlatformPaint(m_canvas);
    520514    paint.setColor(m_bgColor);
    521515    paint.setStyle(SkPaint::kFill_Style);
     
    530524
    531525    markState();
    532     skia::EndPlatformPaint(m_canvas);
    533 }
    534 
     526}
     527
  • trunk/Tools/DumpRenderTree/chromium/WebThemeControlDRTWin.h

    r88419 r93433  
    4040#define WebThemeControlDRTWin_h
    4141
    42 #include "skia/ext/platform_canvas.h"
    4342#include "third_party/skia/include/core/SkColor.h"
     43#include "third_party/skia/include/core/SkRect.h"
    4444#include <wtf/Noncopyable.h>
    4545
    4646// Skia forward declarations
    47 struct SkIRect;
     47class SkCanvas;
    4848
    4949class WebThemeControlDRTWin {
Note: See TracChangeset for help on using the changeset viewer.