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

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

Issue 723253004: Remove tons of 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual void lose(bool) 47 virtual void lose(bool)
48 { 48 {
49 m_context = nullptr; 49 m_context = nullptr;
50 } 50 }
51 51
52 bool isLost() 52 bool isLost()
53 { 53 {
54 return !m_context; 54 return !m_context;
55 } 55 }
56 56
57 virtual void trace(Visitor*);
58
59 protected: 57 protected:
60 explicit WebGLExtension(WebGLRenderingContextBase*); 58 explicit WebGLExtension(WebGLRenderingContextBase*);
61 59
62 RawPtr<WebGLRenderingContextBase> m_context; 60 RawPtr<WebGLRenderingContextBase> m_context;
63 }; 61 };
64 62
65 } // namespace blink 63 } // namespace blink
66 64
67 #endif // WebGLExtension_h 65 #endif // WebGLExtension_h
OLDNEW
« no previous file with comments | « sky/engine/core/html/canvas/WebGLContextEvent.cpp ('k') | sky/engine/core/html/canvas/WebGLExtension.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698