summaryrefslogtreecommitdiffstats
path: root/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'gfx')
-rw-r--r--gfx/canvas_direct2d_unittest.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/gfx/canvas_direct2d_unittest.cc b/gfx/canvas_direct2d_unittest.cc
index 3163cfe..eaa6a79 100644
--- a/gfx/canvas_direct2d_unittest.cc
+++ b/gfx/canvas_direct2d_unittest.cc
@@ -24,12 +24,13 @@
namespace {
+const char kVisibleModeFlag[] = "d2d-canvas-visible";
+
class TestWindow : public gfx::WindowImpl {
public:
static const int kWindowSize = 500;
static const int kWindowPosition = 10;
- static const wchar_t* kVisibleModeFlag;
TestWindow() {
if (CommandLine::ForCurrentProcess()->HasSwitch(kVisibleModeFlag))
@@ -75,9 +76,6 @@ class TestWindow : public gfx::WindowImpl {
DISALLOW_COPY_AND_ASSIGN(TestWindow);
};
-// static
-const wchar_t* TestWindow::kVisibleModeFlag = L"d2d-canvas-visible";
-
// Loads a png data blob from the data resources associated with this
// executable, decodes it and returns a SkBitmap.
SkBitmap LoadBitmapFromResources(int resource_id) {