From 699ffb85a67ee640e266f8348622f22aa5d8a908 Mon Sep 17 00:00:00 2001 From: "ajwong@chromium.org" Date: Tue, 2 Jun 2009 18:49:07 +0000 Subject: Add ifdef to make upstreaming of v8_utility.h easiler. Review URL: http://codereview.chromium.org/118101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17416 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/port/bindings/v8/v8_utility.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/webkit/port/bindings/v8/v8_utility.h b/webkit/port/bindings/v8/v8_utility.h index 620c04c..a7c3325 100644 --- a/webkit/port/bindings/v8/v8_utility.h +++ b/webkit/port/bindings/v8/v8_utility.h @@ -5,6 +5,15 @@ #ifndef V8_UTILITY_H__ #define V8_UTILITY_H__ +#include "V8Utilities.h" + +// To break a cycle dependency during upstreaming this block of code, +// ifdefing it out based on this #define. +// +// TODO(ajwong): After https://bugs.webkit.org/show_bug.cgi?id=25595 +// lands and is rolled down into chromium, migrate all headaers to use +// the code in V8Utilities.h directly, and then, remove this code. +#ifndef V8UTILITIES_DEFINED namespace WebCore { class AllowAllocation { @@ -54,5 +63,6 @@ v8::Local SafeAllocation::NewInstance( } } // namespace WebCore +#endif // V8UTILITIES_DEFINED #endif // V8_UTILITY_H__ -- cgit v1.1