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

Unified Diff: Source/platform/graphics/GraphicsContextTest.cpp

Issue 907453003: Move overdraw tracking code from GraphicsContext to CanvasRenderingContext2D (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/GraphicsContextTest.cpp
diff --git a/Source/platform/graphics/GraphicsContextTest.cpp b/Source/platform/graphics/GraphicsContextTest.cpp
index a3bd177875dcfd912d32d302d05858b35fd01486..11a063e541f23d43141682f82a6b4ddb0f0b99ef 100644
--- a/Source/platform/graphics/GraphicsContextTest.cpp
+++ b/Source/platform/graphics/GraphicsContextTest.cpp
@@ -27,7 +27,6 @@
#include "platform/graphics/GraphicsContext.h"
#include "platform/graphics/BitmapImage.h"
-#include "platform/graphics/GraphicsContextClient.h"
#include "platform/graphics/ImageBuffer.h"
#include "platform/graphics/skia/NativeImageSkia.h"
#include "third_party/skia/include/core/SkBitmap.h"
@@ -168,7 +167,7 @@ TEST(GraphicsContextTest, trackImageMaskWithOpaqueRect)
EXPECT_OPAQUE_PIXELS_ONLY_IN_RECT(bitmap, IntRect(12, 12, 3, 3));
}
-
+/*
#define TEST_CLEAR_SETUP \
SkBitmap bitmap; \
bitmap.allocN32Pixels(10, 10); \
@@ -394,7 +393,7 @@ TEST(GraphicsContextTest, detectNoClearWithTransparentPaint)
TEST_CLEAR_3(false, beginLayer(1.0f, SkXfermode::kSrcOver_Mode), drawRect(fullRect, paint), endLayer());
}
}
-
+*/
dshwang 2015/02/06 19:10:37 why don't you delete code?
Justin Novosad 2015/02/06 19:37:31 I will. I am currently working on moving these tes
TEST(GraphicsContextTest, UnboundedDrawsAreClipped)
{
SkBitmap bitmap;

Powered by Google App Engine
This is Rietveld 408576698