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

Side by Side Diff: sky/engine/core/html/canvas/CanvasRenderingContext.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 23 matching lines...) Expand all
34 34
35 namespace blink { class WebLayer; } 35 namespace blink { class WebLayer; }
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class CanvasImageSource; 39 class CanvasImageSource;
40 class HTMLCanvasElement; 40 class HTMLCanvasElement;
41 class KURL; 41 class KURL;
42 class WebGLObject; 42 class WebGLObject;
43 43
44 class CanvasRenderingContext : public DummyBase<CanvasRenderingContext> { 44 class CanvasRenderingContext {
45 WTF_MAKE_NONCOPYABLE(CanvasRenderingContext); 45 WTF_MAKE_NONCOPYABLE(CanvasRenderingContext);
46 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 46 WTF_MAKE_FAST_ALLOCATED;
47 public: 47 public:
48 virtual ~CanvasRenderingContext() { } 48 virtual ~CanvasRenderingContext() { }
49 49
50 #if !ENABLE(OILPAN) 50 #if !ENABLE(OILPAN)
51 void ref() { m_canvas->ref(); } 51 void ref() { m_canvas->ref(); }
52 void deref() { m_canvas->deref(); } 52 void deref() { m_canvas->deref(); }
53 #endif 53 #endif
54 54
55 HTMLCanvasElement* canvas() const { return m_canvas; } 55 HTMLCanvasElement* canvas() const { return m_canvas; }
56 56
(...skipping 14 matching lines...) Expand all
71 71
72 private: 72 private:
73 RawPtr<HTMLCanvasElement> m_canvas; 73 RawPtr<HTMLCanvasElement> m_canvas;
74 HashSet<String> m_cleanURLs; 74 HashSet<String> m_cleanURLs;
75 HashSet<String> m_dirtyURLs; 75 HashSet<String> m_dirtyURLs;
76 }; 76 };
77 77
78 } // namespace blink 78 } // namespace blink
79 79
80 #endif 80 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/html/canvas/Canvas2DContextAttributes.h ('k') | sky/engine/core/html/canvas/HitRegion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698