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

Side by Side Diff: skia/ext/platform_canvas_linux.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/image_operations_unittest.cc ('k') | skia/ext/platform_canvas_mac.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_canvas_linux.h" 5 #include "skia/ext/platform_canvas_linux.h"
6 6
7 #include <cairo/cairo.h>
8
7 #include "skia/ext/platform_device_linux.h" 9 #include "skia/ext/platform_device_linux.h"
8 #include "skia/ext/bitmap_platform_device_linux.h" 10 #include "skia/ext/bitmap_platform_device_linux.h"
9 #include "SkTypes.h" 11 #include "third_party/skia/include/core/SkTypes.h"
10
11 #include <cairo/cairo.h>
12 12
13 namespace skia { 13 namespace skia {
14 14
15 PlatformCanvasLinux::PlatformCanvasLinux() : SkCanvas() { 15 PlatformCanvasLinux::PlatformCanvasLinux() : SkCanvas() {
16 } 16 }
17 17
18 PlatformCanvasLinux::PlatformCanvasLinux(int width, int height, bool is_opaque) 18 PlatformCanvasLinux::PlatformCanvasLinux(int width, int height, bool is_opaque)
19 : SkCanvas() { 19 : SkCanvas() {
20 if (!initialize(width, height, is_opaque)) 20 if (!initialize(width, height, is_opaque))
21 SK_CRASH(); 21 SK_CRASH();
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 bool is_opaque) { 76 bool is_opaque) {
77 return BitmapPlatformDeviceLinux::Create(width, height, is_opaque); 77 return BitmapPlatformDeviceLinux::Create(width, height, is_opaque);
78 } 78 }
79 79
80 // static 80 // static
81 size_t PlatformCanvasLinux::StrideForWidth(unsigned width) { 81 size_t PlatformCanvasLinux::StrideForWidth(unsigned width) {
82 return cairo_format_stride_for_width(CAIRO_FORMAT_ARGB32, width); 82 return cairo_format_stride_for_width(CAIRO_FORMAT_ARGB32, width);
83 } 83 }
84 84
85 } // namespace skia 85 } // namespace skia
OLDNEW
« no previous file with comments | « skia/ext/image_operations_unittest.cc ('k') | skia/ext/platform_canvas_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698