Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Unified Diff: cc/CCRenderSurfaceFilters.cpp

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/CCRenderSurfaceFilters.h ('k') | cc/CCRenderSurfaceFiltersTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCRenderSurfaceFilters.cpp
diff --git a/cc/CCRenderSurfaceFilters.cpp b/cc/CCRenderSurfaceFilters.cpp
index 2a5f819abddc78da6df33fc60c8ffab9253c23c9..40344c6b466f676e653ac28d9010420d9653ac82 100644
--- a/cc/CCRenderSurfaceFilters.cpp
+++ b/cc/CCRenderSurfaceFilters.cpp
@@ -20,6 +20,8 @@
#include <public/WebGraphicsContext3D.h>
#include <wtf/MathExtras.h>
+using namespace cc;
+
namespace {
void getBrightnessMatrix(float amount, SkScalar matrix[20])
@@ -236,7 +238,7 @@ bool getColorMatrix(const WebKit::WebFilterOperation& op, SkScalar matrix[20])
class FilterBufferState {
public:
- FilterBufferState(GrContext* grContext, const WebCore::FloatSize& size, unsigned textureId)
+ FilterBufferState(GrContext* grContext, const FloatSize& size, unsigned textureId)
: m_grContext(grContext)
, m_currentTexture(0)
{
@@ -310,7 +312,7 @@ private:
}
-namespace WebCore {
+namespace cc {
WebKit::WebFilterOperations CCRenderSurfaceFilters::optimize(const WebKit::WebFilterOperations& filters)
{
« no previous file with comments | « cc/CCRenderSurfaceFilters.h ('k') | cc/CCRenderSurfaceFiltersTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698