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

Side by Side Diff: Source/platform/graphics/GraphicsContextCullSaver.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 #ifndef GraphicsContextCullSaver_h 1 #ifndef GraphicsContextCullSaver_h
2 #define GraphicsContextCullSaver_h 2 #define GraphicsContextCullSaver_h
3 3
4 #include "platform/graphics/GraphicsContext.h" 4 #include "platform/graphics/GraphicsContext.h"
5 5
6 namespace WebCore { 6 namespace blink {
7 7
8 class FloatRect; 8 class FloatRect;
9 9
10 class GraphicsContextCullSaver { 10 class GraphicsContextCullSaver {
11 WTF_MAKE_FAST_ALLOCATED; 11 WTF_MAKE_FAST_ALLOCATED;
12 public: 12 public:
13 GraphicsContextCullSaver(GraphicsContext& context) 13 GraphicsContextCullSaver(GraphicsContext& context)
14 : m_context(context) 14 : m_context(context)
15 , m_cullApplied(false) 15 , m_cullApplied(false)
16 { 16 {
(...skipping 17 matching lines...) Expand all
34 ASSERT(!m_cullApplied); 34 ASSERT(!m_cullApplied);
35 m_context.beginCull(rect); 35 m_context.beginCull(rect);
36 m_cullApplied = true; 36 m_cullApplied = true;
37 } 37 }
38 38
39 private: 39 private:
40 GraphicsContext& m_context; 40 GraphicsContext& m_context;
41 bool m_cullApplied; 41 bool m_cullApplied;
42 }; 42 };
43 43
44 } // namespace WebCore 44 } // namespace blink
45 45
46 #endif // GraphicsContextCullSaver_h 46 #endif // GraphicsContextCullSaver_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/GraphicsContextAnnotation.h ('k') | Source/platform/graphics/GraphicsContextRecorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698