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

Side by Side Diff: Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h

Issue 630853002: Replacing the OVERRIDE with override in third_party/WebKit/Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase build fix Created 6 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013, Google Inc. All rights reserved. 2 * Copyright (c) 2013, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 26 matching lines...) Expand all
37 #include "wtf/OwnPtr.h" 37 #include "wtf/OwnPtr.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class PLATFORM_EXPORT AcceleratedImageBufferSurface : public ImageBufferSurface { 41 class PLATFORM_EXPORT AcceleratedImageBufferSurface : public ImageBufferSurface {
42 WTF_MAKE_NONCOPYABLE(AcceleratedImageBufferSurface); WTF_MAKE_FAST_ALLOCATED ; 42 WTF_MAKE_NONCOPYABLE(AcceleratedImageBufferSurface); WTF_MAKE_FAST_ALLOCATED ;
43 public: 43 public:
44 AcceleratedImageBufferSurface(const IntSize&, OpacityMode = NonOpaque, int m saaSampleCount = 0); 44 AcceleratedImageBufferSurface(const IntSize&, OpacityMode = NonOpaque, int m saaSampleCount = 0);
45 virtual ~AcceleratedImageBufferSurface() { } 45 virtual ~AcceleratedImageBufferSurface() { }
46 46
47 virtual SkCanvas* canvas() const OVERRIDE { return m_surface ? m_surface->ge tCanvas() : 0; } 47 virtual SkCanvas* canvas() const override { return m_surface ? m_surface->ge tCanvas() : 0; }
48 virtual bool isValid() const OVERRIDE { return m_surface; } 48 virtual bool isValid() const override { return m_surface; }
49 virtual bool isAccelerated() const OVERRIDE { return true; } 49 virtual bool isAccelerated() const override { return true; }
50 virtual Platform3DObject getBackingTexture() const OVERRIDE; 50 virtual Platform3DObject getBackingTexture() const override;
51 51
52 private: 52 private:
53 OwnPtr<SkSurface> m_surface; 53 OwnPtr<SkSurface> m_surface;
54 OwnPtr<blink::WebGraphicsContext3DProvider> m_contextProvider; 54 OwnPtr<blink::WebGraphicsContext3DProvider> m_contextProvider;
55 }; 55 };
56 56
57 57
58 } // namespace blink 58 } // namespace blink
59 59
60 #endif 60 #endif
OLDNEW
« no previous file with comments | « Source/platform/graphics/filters/SpotLightSource.h ('k') | Source/platform/graphics/gpu/DrawingBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698