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

Side by Side Diff: src/image/SkSurface.cpp

Issue 1939503002: remove non-static uses of SkOncePtr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: leave it Created 4 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
« no previous file with comments | « src/core/SkTypeface.cpp ('k') | tests/OncePtrTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkAtomics.h"
8 #include "SkSurface_Base.h" 9 #include "SkSurface_Base.h"
9 #include "SkImagePriv.h" 10 #include "SkImagePriv.h"
10 #include "SkCanvas.h" 11 #include "SkCanvas.h"
11 12
12 #include "SkFontLCDConfig.h" 13 #include "SkFontLCDConfig.h"
13 static SkPixelGeometry compute_default_geometry() { 14 static SkPixelGeometry compute_default_geometry() {
14 SkFontLCDConfig::LCDOrder order = SkFontLCDConfig::GetSubpixelOrder(); 15 SkFontLCDConfig::LCDOrder order = SkFontLCDConfig::GetSubpixelOrder();
15 if (SkFontLCDConfig::kNONE_LCDOrder == order) { 16 if (SkFontLCDConfig::kNONE_LCDOrder == order) {
16 return kUnknown_SkPixelGeometry; 17 return kUnknown_SkPixelGeometry;
17 } else { 18 } else {
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 const SkSurfaceProps*) { 242 const SkSurfaceProps*) {
242 return nullptr; 243 return nullptr;
243 } 244 }
244 245
245 sk_sp<SkSurface> MakeFromBackendTextureAsRenderTarget(GrContext*, const GrBacken dTextureDesc&, 246 sk_sp<SkSurface> MakeFromBackendTextureAsRenderTarget(GrContext*, const GrBacken dTextureDesc&,
246 const SkSurfaceProps*) { 247 const SkSurfaceProps*) {
247 return nullptr; 248 return nullptr;
248 } 249 }
249 250
250 #endif 251 #endif
OLDNEW
« no previous file with comments | « src/core/SkTypeface.cpp ('k') | tests/OncePtrTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698