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

Unified Diff: Source/platform/graphics/Image.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/platform/graphics/Image.h
diff --git a/Source/platform/graphics/Image.h b/Source/platform/graphics/Image.h
index 706f15ca1331a95c072904b6bd04343637f0aea8..ea81ae9032c4d39b7585786829497e40777bc4a4 100644
--- a/Source/platform/graphics/Image.h
+++ b/Source/platform/graphics/Image.h
@@ -34,6 +34,7 @@
#include "platform/graphics/ImageOrientation.h"
#include "platform/graphics/skia/NativeImageSkia.h"
#include "third_party/skia/include/core/SkXfermode.h"
+#include "wtf/Assertions.h"
Ken Russell (switch to Gerrit) 2014/07/15 23:25:35 I'm pretty sure that based on compile failures see
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/RefPtr.h"
@@ -118,7 +119,7 @@ public:
const FloatSize&, const FloatPoint& phase, CompositeOperator,
const FloatRect&, blink::WebBlendMode = blink::WebBlendModeNormal, const IntSize& repeatSpacing = IntSize());
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
virtual bool notSolidColor() { return true; }
#endif

Powered by Google App Engine
This is Rietveld 408576698