Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Side by Side Diff: skia/ext/platform_device_win.cc

Issue 115412: Fix Skia includes to use the whole path name. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « skia/ext/platform_device_mac.cc ('k') | skia/ext/skia_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "skia/ext/platform_device_win.h" 5 #include "skia/ext/platform_device_win.h"
6 6
7 #include "skia/ext/skia_utils_win.h" 7 #include "skia/ext/skia_utils_win.h"
8 #include "SkMatrix.h" 8 #include "third_party/skia/include/core/SkMatrix.h"
9 #include "SkPath.h" 9 #include "third_party/skia/include/core/SkPath.h"
10 #include "SkRegion.h" 10 #include "third_party/skia/include/core/SkRegion.h"
11 #include "SkUtils.h" 11 #include "third_party/skia/include/core/SkUtils.h"
12 12
13 namespace skia { 13 namespace skia {
14 14
15 PlatformDeviceWin::PlatformDeviceWin(const SkBitmap& bitmap) 15 PlatformDeviceWin::PlatformDeviceWin(const SkBitmap& bitmap)
16 : SkDevice(bitmap) { 16 : SkDevice(bitmap) {
17 } 17 }
18 18
19 // static 19 // static
20 void PlatformDeviceWin::InitializeDC(HDC context) { 20 void PlatformDeviceWin::InitializeDC(HDC context) {
21 // Enables world transformation. 21 // Enables world transformation.
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 hrgn = PathToRegion(context); 219 hrgn = PathToRegion(context);
220 } 220 }
221 int result = SelectClipRgn(context, hrgn); 221 int result = SelectClipRgn(context, hrgn);
222 SkASSERT(result != ERROR); 222 SkASSERT(result != ERROR);
223 result = DeleteObject(hrgn); 223 result = DeleteObject(hrgn);
224 SkASSERT(result != 0); 224 SkASSERT(result != 0);
225 } 225 }
226 226
227 } // namespace skia 227 } // namespace skia
228 228
OLDNEW
« no previous file with comments | « skia/ext/platform_device_mac.cc ('k') | skia/ext/skia_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698