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

Side by Side Diff: src/core/SkPicture.cpp

Issue 1373253003: Have /src files use header directly. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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/SkDrawable.cpp ('k') | src/core/SkRegion.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 2007 The Android Open Source Project 2 * Copyright 2007 The Android Open Source Project
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 "../private/SkAtomics.h" 8 #include "SkAtomics.h"
9 #include "SkMessageBus.h" 9 #include "SkMessageBus.h"
10 #include "SkPicture.h" 10 #include "SkPicture.h"
11 #include "SkPictureData.h" 11 #include "SkPictureData.h"
12 #include "SkPicturePlayback.h" 12 #include "SkPicturePlayback.h"
13 #include "SkPictureRecord.h" 13 #include "SkPictureRecord.h"
14 #include "SkPictureRecorder.h" 14 #include "SkPictureRecorder.h"
15 15
16 #if defined(SK_DISALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS) || \ 16 #if defined(SK_DISALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS) || \
17 defined(SK_ENABLE_PICTURE_IO_SECURITY_PRECAUTIONS) 17 defined(SK_ENABLE_PICTURE_IO_SECURITY_PRECAUTIONS)
18 static bool g_AllPictureIOSecurityPrecautionsEnabled = true; 18 static bool g_AllPictureIOSecurityPrecautionsEnabled = true;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 } 216 }
217 217
218 // Global setting to disable security precautions for serialization. 218 // Global setting to disable security precautions for serialization.
219 void SkPicture::SetPictureIOSecurityPrecautionsEnabled_Dangerous(bool set) { 219 void SkPicture::SetPictureIOSecurityPrecautionsEnabled_Dangerous(bool set) {
220 g_AllPictureIOSecurityPrecautionsEnabled = set; 220 g_AllPictureIOSecurityPrecautionsEnabled = set;
221 } 221 }
222 222
223 bool SkPicture::PictureIOSecurityPrecautionsEnabled() { 223 bool SkPicture::PictureIOSecurityPrecautionsEnabled() {
224 return g_AllPictureIOSecurityPrecautionsEnabled; 224 return g_AllPictureIOSecurityPrecautionsEnabled;
225 } 225 }
OLDNEW
« no previous file with comments | « src/core/SkDrawable.cpp ('k') | src/core/SkRegion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698