diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-14 22:21:30 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-14 22:21:30 +0000 |
commit | 9c88e5615608f133483adb6c5c1ba5e170290d6b (patch) | |
tree | a0aaebff1b1cdf8e306532e38986e2e546357756 /cc/ProgramBinding.h | |
parent | 9a9805d494f06037618cbd966a08c4602a04b53f (diff) | |
download | chromium_src-9c88e5615608f133483adb6c5c1ba5e170290d6b.zip chromium_src-9c88e5615608f133483adb6c5c1ba5e170290d6b.tar.gz chromium_src-9c88e5615608f133483adb6c5c1ba5e170290d6b.tar.bz2 |
Change cc files from namespace WebCore to cc
These files no longer are part of WebCore, so it doesn't make any sense to keep
that namespace.
Due to being unable to forward declare typedefs in C++, the stubs files (like
FloatSize) now define cc::FloatSize as being derived from WebCore::FloatSize.
With enough constructors, this lets them be used interchangably in the short
term until those geometry classes become real and not dependent on WebCore
files. This allows (nearly) all the forward declarations and uses of these
types in cc stay as-is with minimal churn.
BUG=none
Review URL: https://codereview.chromium.org/10914268
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156905 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/ProgramBinding.h')
-rw-r--r-- | cc/ProgramBinding.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/ProgramBinding.h b/cc/ProgramBinding.h index 5c59fd2..9f0d067 100644 --- a/cc/ProgramBinding.h +++ b/cc/ProgramBinding.h @@ -13,7 +13,7 @@ namespace WebKit { class WebGraphicsContext3D; } -namespace WebCore { +namespace cc { class ProgramBindingBase { public: @@ -77,7 +77,7 @@ private: FragmentShader m_fragmentShader; }; -} // namespace WebCore +} // namespace cc #endif // USE(ACCELERATED_COMPOSITING) |