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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/OnStackObjectChecker.cpp

Issue 2272313003: binding: Makes ExceptionState STACK_ALLOCATED(). (Closed)
Patch Set: Synced. Created 4 years, 4 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
Index: third_party/WebKit/Source/bindings/core/v8/OnStackObjectChecker.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/OnStackObjectChecker.cpp b/third_party/WebKit/Source/bindings/core/v8/OnStackObjectChecker.cpp
deleted file mode 100644
index 31681016613f08d68e35b06b3e21f7f1db39fa3d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/bindings/core/v8/OnStackObjectChecker.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "bindings/core/v8/OnStackObjectChecker.h"
-
-#include "bindings/core/v8/Dictionary.h"
-#include "wtf/HashSet.h"
-
-namespace blink {
-
-#if ENABLE(ASSERT)
-OnStackObjectChecker::OnStackObjectChecker()
-{
-}
-
-OnStackObjectChecker::~OnStackObjectChecker()
-{
- // All dictionaries must be removed before the checker is destructed.
- ASSERT(m_dictionaries.isEmpty());
-}
-
-void OnStackObjectChecker::add(Dictionary* dictionary)
-{
- m_dictionaries.add(dictionary);
-}
-
-void OnStackObjectChecker::remove(Dictionary* dictionary)
-{
- m_dictionaries.remove(dictionary);
-}
-#endif // ENABLE(ASSERT)
-
-} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/OnStackObjectChecker.h ('k') | third_party/WebKit/Source/bindings/core/v8/v8.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698