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

Side by Side Diff: debugger/SkDebugger.cpp

Issue 13975008: Fix NaCl build. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 8 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 | « no previous file | no next file » | 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 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "SkDebugger.h" 9 #include "SkDebugger.h"
10 #include "SkString.h" 10 #include "SkString.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 #include "SkImageDecoder.h" 132 #include "SkImageDecoder.h"
133 133
134 void forceLinking(); 134 void forceLinking();
135 void forceLinking() { 135 void forceLinking() {
136 // This function leaks, but that is okay because it is not intended 136 // This function leaks, but that is okay because it is not intended
137 // to be called. It is only here so that the linker will include the 137 // to be called. It is only here so that the linker will include the
138 // decoders. 138 // decoders.
139 SkDEBUGCODE(SkImageDecoder *creator = ) CreateJPEGImageDecoder(); 139 SkDEBUGCODE(SkImageDecoder *creator = ) CreateJPEGImageDecoder();
140 SkASSERT(creator); 140 SkASSERT(creator);
141 #ifdef SK_BUILD_FOR_UNIX 141 #if defined(SK_BUILD_FOR_UNIX) && !defined(SK_BUILD_FOR_NACL)
142 SkDEBUGCODE(creator = ) CreateGIFImageDecoder(); 142 SkDEBUGCODE(creator = ) CreateGIFImageDecoder();
143 SkASSERT(creator); 143 SkASSERT(creator);
144 #endif 144 #endif
145 } 145 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698