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

Unified Diff: cc/render_surface_filters.cc

Issue 12630014: Remove ifdefs that are not needed once WebKit rolls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | content/common/cc_messages.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 1933e537275a7b7cf2ae66560e64ffcb9ef13500..8f61c698512f4e606ec1db3b167bb97d804f102e 100644
--- a/cc/render_surface_filters.cc
+++ b/cc/render_surface_filters.cc
@@ -424,7 +424,6 @@ SkBitmap RenderSurfaceFilters::Apply(const WebKit::WebFilterOperations& filters,
break;
}
case WebKit::WebFilterOperation::FilterTypeZoom: {
-#ifdef NEW_ZOOM_FILTER // TODO(danakj): Remove this when WebKit rolls.
SkPaint paint;
int width = state.Source().width();
int height = state.Source().height();
@@ -440,7 +439,6 @@ SkBitmap RenderSurfaceFilters::Apply(const WebKit::WebFilterOperations& filters,
canvas->saveLayer(NULL, &paint);
canvas->drawBitmap(state.Source(), 0, 0);
canvas->restore();
-#endif
break;
}
case WebKit::WebFilterOperation::FilterTypeBrightness:
« no previous file with comments | « no previous file | content/common/cc_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698