| OLD | NEW |
| 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * * Redistributions of source code must retain the above copyright | 7 * * 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 * * Redistributions in binary form must reproduce the above | 9 * * Redistributions in binary form must reproduce the above |
| 10 * copyright notice, this list of conditions and the following disclaimer | 10 * copyright notice, this list of conditions and the following disclaimer |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "wtf/RefCounted.h" | 31 #include "wtf/RefCounted.h" |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 | 34 |
| 35 // A base class for any attributes that are needed which would affect | 35 // A base class for any attributes that are needed which would affect |
| 36 // the creation of the Canvas's rendering context. | 36 // the creation of the Canvas's rendering context. |
| 37 | 37 |
| 38 class CanvasContextAttributes : public RefCounted<CanvasContextAttributes> { | 38 class CanvasContextAttributes : public RefCounted<CanvasContextAttributes> { |
| 39 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(CanvasContextAttributes); | 39 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(CanvasContextAttributes); |
| 40 public: | 40 public: |
| 41 virtual void trace(Visitor*) { } | |
| 42 | 41 |
| 43 protected: | 42 protected: |
| 44 CanvasContextAttributes(); | 43 CanvasContextAttributes(); |
| 45 }; | 44 }; |
| 46 | 45 |
| 47 } // namespace blink | 46 } // namespace blink |
| 48 | 47 |
| 49 #endif // CanvasContextAttributes_h | 48 #endif // CanvasContextAttributes_h |
| OLD | NEW |