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

Side by Side Diff: skia/config/SkUserConfig.h

Issue 545513002: tryAllocPixels returns bool, allocPixels requires success (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 The Android Open Source Project 2 * Copyright (C) 2006 The Android Open Source Project
3 * 3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. 5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at 6 * You may obtain a copy of the License at
7 * 7 *
8 * http://www.apache.org/licenses/LICENSE-2.0 8 * http://www.apache.org/licenses/LICENSE-2.0
9 * 9 *
10 * Unless required by applicable law or agreed to in writing, software 10 * Unless required by applicable law or agreed to in writing, software
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 // Remove these as we update our sites. 254 // Remove these as we update our sites.
255 // 255 //
256 #ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE 256 #ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE
257 #define SK_SUPPORT_LEGACY_GETTOPDEVICE 257 #define SK_SUPPORT_LEGACY_GETTOPDEVICE
258 #endif 258 #endif
259 259
260 #ifndef SK_SUPPORT_LEGACY_GETDEVICE 260 #ifndef SK_SUPPORT_LEGACY_GETDEVICE
261 #define SK_SUPPORT_LEGACY_GETDEVICE 261 #define SK_SUPPORT_LEGACY_GETDEVICE
262 #endif 262 #endif
263 263
264 #ifndef SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL 264 #ifdef SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL
265 #define SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL 265 #undef SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL
266 #endif 266 #endif
267 267
268 // ===== End Chrome-specific definitions ===== 268 // ===== End Chrome-specific definitions =====
269 269
270 #endif 270 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698