summaryrefslogtreecommitdiffstats
path: root/cc/stubs/UnitBezier.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/stubs/UnitBezier.h')
-rw-r--r--cc/stubs/UnitBezier.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cc/stubs/UnitBezier.h b/cc/stubs/UnitBezier.h
index 90f810c..1ff5da9 100644
--- a/cc/stubs/UnitBezier.h
+++ b/cc/stubs/UnitBezier.h
@@ -3,4 +3,12 @@
// 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;
+}