Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef PrivateScriptTest_h | |
| 6 #define PrivateScriptTest_h | |
| 7 | |
| 8 #include "platform/heap/Handle.h" | |
| 9 #include "wtf/RefCounted.h" | |
| 10 | |
| 11 namespace WebCore { | |
| 12 | |
| 13 class PrivateScriptTest : public RefCountedWillBeGarbageCollected<PrivateScriptT est> { | |
|
abarth-chromium
2014/07/07 16:03:47
Why not just GarbageCollected?
| |
| 14 public: | |
| 15 static PassRefPtrWillBeRawPtr<PrivateScriptTest> create() | |
| 16 { | |
| 17 return adoptRefWillBeNoop(new PrivateScriptTest()); | |
| 18 } | |
| 19 | |
| 20 void trace(Visitor*) { } | |
| 21 | |
| 22 private: | |
| 23 PrivateScriptTest() { } | |
| 24 }; | |
| 25 | |
| 26 } // namespace WebCore | |
| 27 | |
| 28 #endif | |
| OLD | NEW |