Changeset 93433 in webkit
- Timestamp:
- Aug 19, 2011 1:22:00 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r93426 r93433 1 2011-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 1 14 2011-08-18 Dmitry Lomov <dslomov@google.com> 2 15 -
trunk/Tools/DumpRenderTree/chromium/WebThemeControlDRTWin.cpp
r88420 r93433 38 38 #include "WebThemeControlDRTWin.h" 39 39 40 #include "skia/ext/platform_canvas.h"41 40 #include "skia/ext/skia_utils_win.h" 41 #include "third_party/skia/include/core/SkCanvas.h" 42 42 #include "third_party/skia/include/core/SkPaint.h" 43 43 #include "third_party/skia/include/core/SkPath.h" … … 304 304 const int sliderIndent = 2; 305 305 306 skia::BeginPlatformPaint(m_canvas);307 308 306 switch (m_type) { 309 307 case UnknownType: … … 487 485 488 486 markState(); 489 skia::EndPlatformPaint(m_canvas);490 487 } 491 488 … … 497 494 SkPaint paint; 498 495 499 skia::BeginPlatformPaint(m_canvas);500 496 if (fillContentArea) { 501 497 paint.setColor(color); … … 510 506 511 507 markState(); 512 skia::EndPlatformPaint(m_canvas);513 508 } 514 509 … … 517 512 SkPaint paint; 518 513 519 skia::BeginPlatformPaint(m_canvas);520 514 paint.setColor(m_bgColor); 521 515 paint.setStyle(SkPaint::kFill_Style); … … 530 524 531 525 markState(); 532 skia::EndPlatformPaint(m_canvas); 533 } 534 526 } 527 -
trunk/Tools/DumpRenderTree/chromium/WebThemeControlDRTWin.h
r88419 r93433 40 40 #define WebThemeControlDRTWin_h 41 41 42 #include "skia/ext/platform_canvas.h"43 42 #include "third_party/skia/include/core/SkColor.h" 43 #include "third_party/skia/include/core/SkRect.h" 44 44 #include <wtf/Noncopyable.h> 45 45 46 46 // Skia forward declarations 47 struct SkIRect;47 class SkCanvas; 48 48 49 49 class WebThemeControlDRTWin {
Note: See TracChangeset
for help on using the changeset viewer.