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

Unified Diff: public/platform/WebCompositorSupport.h

Issue 1158913002: Replacing the 'return 0;' statements with 'return nullptr;' (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 | « public/platform/Platform.h ('k') | public/platform/WebCrypto.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebCompositorSupport.h
diff --git a/public/platform/WebCompositorSupport.h b/public/platform/WebCompositorSupport.h
index d44b965327e6c1933428596efddeea8300340371..4bd1d26ce2fef79c163e02ac584e54a8a276cae7 100644
--- a/public/platform/WebCompositorSupport.h
+++ b/public/platform/WebCompositorSupport.h
@@ -63,47 +63,47 @@ class WebTransformOperations;
class WebCompositorSupport {
public:
// Creates an output surface for the compositor backed by a 3d context.
- virtual WebCompositorOutputSurface* createOutputSurfaceFor3D(WebGraphicsContext3D*) { return 0; }
+ virtual WebCompositorOutputSurface* createOutputSurfaceFor3D(WebGraphicsContext3D*) { return nullptr; }
// Creates an output surface for the compositor backed by a software device.
- virtual WebCompositorOutputSurface* createOutputSurfaceForSoftware() { return 0; }
+ virtual WebCompositorOutputSurface* createOutputSurfaceForSoftware() { return nullptr; }
// Layers -------------------------------------------------------
- virtual WebLayer* createLayer() { return 0; }
+ virtual WebLayer* createLayer() { return nullptr; }
- virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return 0; }
+ virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return nullptr; }
- virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextureLayerClient*) { return 0; }
+ virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextureLayerClient*) { return nullptr; }
- virtual WebImageLayer* createImageLayer() { return 0; }
+ virtual WebImageLayer* createImageLayer() { return nullptr; }
- virtual WebNinePatchLayer* createNinePatchLayer() { return 0; }
+ virtual WebNinePatchLayer* createNinePatchLayer() { return nullptr; }
// The ownership of the WebScrollbarThemeGeometry pointer is passed to Chromium.
- virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarThemePainter, WebScrollbarThemeGeometry*) { return 0; }
+ virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarThemePainter, WebScrollbarThemeGeometry*) { return nullptr; }
- virtual WebScrollbarLayer* createSolidColorScrollbarLayer(WebScrollbar::Orientation, int thumbThickness, int trackStart, bool isLeftSideVerticalScrollbar) { return 0; }
+ virtual WebScrollbarLayer* createSolidColorScrollbarLayer(WebScrollbar::Orientation, int thumbThickness, int trackStart, bool isLeftSideVerticalScrollbar) { return nullptr; }
// Animation ----------------------------------------------------
- virtual WebCompositorAnimation* createAnimation(const WebCompositorAnimationCurve&, WebCompositorAnimation::TargetProperty, int groupId = 0, int animationId = 0) { return 0; }
+ virtual WebCompositorAnimation* createAnimation(const WebCompositorAnimationCurve&, WebCompositorAnimation::TargetProperty, int groupId = 0, int animationId = 0) { return nullptr; }
- virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return 0; }
+ virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return nullptr; }
- virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; }
+ virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return nullptr; }
- virtual WebScrollOffsetAnimationCurve* createScrollOffsetAnimationCurve(WebFloatPoint targetValue, WebCompositorAnimationCurve::TimingFunctionType) { return 0; }
+ virtual WebScrollOffsetAnimationCurve* createScrollOffsetAnimationCurve(WebFloatPoint targetValue, WebCompositorAnimationCurve::TimingFunctionType) { return nullptr; }
- virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return 0; }
+ virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return nullptr; }
- virtual WebTransformOperations* createTransformOperations() { return 0; }
+ virtual WebTransformOperations* createTransformOperations() { return nullptr; }
- virtual WebFilterOperations* createFilterOperations() { return 0; }
+ virtual WebFilterOperations* createFilterOperations() { return nullptr; }
- virtual WebCompositorAnimationPlayer* createAnimationPlayer() { return 0; }
+ virtual WebCompositorAnimationPlayer* createAnimationPlayer() { return nullptr; }
- virtual WebCompositorAnimationTimeline* createAnimationTimeline() { return 0; }
+ virtual WebCompositorAnimationTimeline* createAnimationTimeline() { return nullptr; }
protected:
virtual ~WebCompositorSupport() { }
« no previous file with comments | « public/platform/Platform.h ('k') | public/platform/WebCrypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698