Index: cc/stubs/unit_bezier.h |
diff --git a/cc/stubs/unit_bezier.h b/cc/stubs/unit_bezier.h |
index 638cbb270ce9b24689d5095baf174ade4f4d1a13..1ff5da9d2a2bd9b92a04c8df8d8c47b009c11655 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; |
+} |