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

Side by Side Diff: skia/ext/vector_device.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/vector_device.h ('k') | skia/precompiled.cc » ('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/vector_device.h" 5 #include "skia/ext/vector_device.h"
6 6
7 #include "base/gfx/gdi_util.h" 7 #include "base/gfx/gdi_util.h"
8 #include "skia/ext/skia_utils_win.h" 8 #include "skia/ext/skia_utils_win.h"
9 9 #include "third_party/skia/include/core/SkUtils.h"
10 #include "SkUtils.h"
11 10
12 namespace skia { 11 namespace skia {
13 12
14 VectorDevice* VectorDevice::create(HDC dc, int width, int height) { 13 VectorDevice* VectorDevice::create(HDC dc, int width, int height) {
15 InitializeDC(dc); 14 InitializeDC(dc);
16 15
17 // Link the SkBitmap to the current selected bitmap in the device context. 16 // Link the SkBitmap to the current selected bitmap in the device context.
18 SkBitmap bitmap; 17 SkBitmap bitmap;
19 HGDIOBJ selected_bitmap = GetCurrentObject(dc, OBJ_BITMAP); 18 HGDIOBJ selected_bitmap = GetCurrentObject(dc, OBJ_BITMAP);
20 bool succeeded = false; 19 bool succeeded = false;
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 reinterpret_cast<const BITMAPINFO*>(&hdr), 603 reinterpret_cast<const BITMAPINFO*>(&hdr),
605 DIB_RGB_COLORS, 604 DIB_RGB_COLORS,
606 SRCCOPY); 605 SRCCOPY);
607 SkASSERT(result); 606 SkASSERT(result);
608 } 607 }
609 Cleanup(); 608 Cleanup();
610 } 609 }
611 610
612 } // namespace skia 611 } // namespace skia
613 612
OLDNEW
« no previous file with comments | « skia/ext/vector_device.h ('k') | skia/precompiled.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698