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

Unified Diff: Source/bindings/dart/DartPersistentValue.h

Issue 289083003: [dartium] Dart half of ScriptValue refactoring. (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/1916
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/dart/DartJsInterop.cpp ('k') | Source/bindings/dart/DartPersistentValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/dart/DartPersistentValue.h
diff --git a/Source/bindings/dart/DartScriptValue.h b/Source/bindings/dart/DartPersistentValue.h
similarity index 83%
copy from Source/bindings/dart/DartScriptValue.h
copy to Source/bindings/dart/DartPersistentValue.h
index 4da4128a7c05f3d9e3e7cf26db55b611b1456440..9442251a59b03823f11b845f70b8a5c435181bca 100644
--- a/Source/bindings/dart/DartScriptValue.h
+++ b/Source/bindings/dart/DartPersistentValue.h
@@ -28,22 +28,21 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DartScriptValue_h
-#define DartScriptValue_h
+#ifndef DartPersistentValue_h
+#define DartPersistentValue_h
#include "bindings/dart/DartIsolateDestructionObserver.h"
-
+#include "wtf/Noncopyable.h"
+#include "wtf/RefPtr.h"
#include <dart_api.h>
-#include <wtf/Noncopyable.h>
-#include <wtf/RefPtr.h>
namespace WebCore {
-class DartScriptValue : public DartIsolateDestructionObserver {
- WTF_MAKE_NONCOPYABLE(DartScriptValue);
+class DartPersistentValue : public DartIsolateDestructionObserver {
+ WTF_MAKE_NONCOPYABLE(DartPersistentValue);
public:
- explicit DartScriptValue(Dart_Handle value);
- ~DartScriptValue();
+ explicit DartPersistentValue(Dart_Handle value);
+ ~DartPersistentValue();
Dart_PersistentHandle value() { return m_value; }
@@ -53,4 +52,4 @@ private:
}
-#endif // DartScriptValue_h
+#endif // DartPersistentValue_h
« no previous file with comments | « Source/bindings/dart/DartJsInterop.cpp ('k') | Source/bindings/dart/DartPersistentValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698