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

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

Issue 12842: Move convolver, image_operations, and skia_utils from base/gfx to skia/ext.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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/skia_utils_mac.h ('k') | skia/ext/skia_utils_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/base/gfx/skia_utils_mac.cc:r69-2775
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 "base/gfx/skia_utils_mac.h" 5 #include "base/gfx/skia_utils_mac.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "SkMatrix.h" 8 #include "SkMatrix.h"
9 #include "SkRect.h" 9 #include "SkRect.h"
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // Converts ARGB to CGColorRef. 74 // Converts ARGB to CGColorRef.
75 CGColorRef SkColorToCGColorRef(SkColor color) { 75 CGColorRef SkColorToCGColorRef(SkColor color) {
76 return CGColorCreateGenericRGB(SkColorGetR(color) / 255.0, 76 return CGColorCreateGenericRGB(SkColorGetR(color) / 255.0,
77 SkColorGetG(color) / 255.0, 77 SkColorGetG(color) / 255.0,
78 SkColorGetB(color) / 255.0, 78 SkColorGetB(color) / 255.0,
79 SkColorGetA(color) / 255.0); 79 SkColorGetA(color) / 255.0);
80 } 80 }
81 81
82 } // namespace gfx 82 } // namespace gfx
83 83
OLDNEW
« no previous file with comments | « skia/ext/skia_utils_mac.h ('k') | skia/ext/skia_utils_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698