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

Unified Diff: cc/render_surface_filters.cc

Issue 11267052: cc: Get rid of the remaining includes to MathExtras.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « no previous file | cc/solid_color_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/render_surface_filters.cc
diff --git a/cc/render_surface_filters.cc b/cc/render_surface_filters.cc
index a70bfb7fa9bc984f619d65d1a8dc619dd63654b0..b544bb1924f3afd712a743b5a8303a2f647bd635 100644
--- a/cc/render_surface_filters.cc
+++ b/cc/render_surface_filters.cc
@@ -17,9 +17,8 @@
#include <public/WebFilterOperation.h>
#include <public/WebFilterOperations.h>
#include <public/WebGraphicsContext3D.h>
-#include <wtf/MathExtras.h>
-using namespace cc;
+namespace cc {
namespace {
@@ -309,9 +308,7 @@ private:
SkAutoTUnref<SkCanvas> m_canvas;
};
-}
-
-namespace cc {
+} // namespace
WebKit::WebFilterOperations RenderSurfaceFilters::optimize(const WebKit::WebFilterOperations& filters)
{
@@ -441,4 +438,4 @@ SkBitmap RenderSurfaceFilters::apply(const WebKit::WebFilterOperations& filters,
return state.source();
}
-}
+} // namespace cc
« no previous file with comments | « no previous file | cc/solid_color_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698