summaryrefslogtreecommitdiffstats
path: root/cc/stubs/unit_bezier.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/stubs/unit_bezier.h')
-rw-r--r--cc/stubs/unit_bezier.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/cc/stubs/unit_bezier.h b/cc/stubs/unit_bezier.h
index 638cbb2..1ff5da9 100644
--- a/cc/stubs/unit_bezier.h
+++ b/cc/stubs/unit_bezier.h
@@ -1,3 +1,14 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+
+// TODO(jamesr): Remove or refactor this dependency.
+#if INSIDE_WEBKIT_BUILD
+#include "Source/WebCore/platform/graphics/UnitBezier.h"
+#else
+#include "third_party/WebKit/Source/WebCore/platform/graphics/UnitBezier.h"
+#endif
+
+namespace cc {
+typedef WebCore::UnitBezier UnitBezier;
+}