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

Unified Diff: src/frames.h

Issue 1172002: Does anyone need copy constructor for StackFrameIterator?
Patch Set: Created 10 years, 9 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 | « no previous file | src/frames.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/frames.h
diff --git a/src/frames.h b/src/frames.h
index 8cbbc6267978b5929277e97787a684ee3167dcb0..b7821e69c69af79a7cff325203fd3266061a9c8a 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -510,6 +510,9 @@ class StackFrameIterator BASE_EMBEDDED {
// Go back to the first frame.
void Reset();
+ StackFrameIterator(const StackFrameIterator& original);
+ void operator=(const StackFrameIterator& original);
+
private:
#define DECLARE_SINGLETON(ignore, type) type type##_;
STACK_FRAME_TYPE_LIST(DECLARE_SINGLETON)
@@ -536,10 +539,13 @@ class StackFrameIterator BASE_EMBEDDED {
friend class StackFrame;
friend class SafeStackFrameIterator;
- DISALLOW_COPY_AND_ASSIGN(StackFrameIterator);
};
+bool operator==(const StackFrameIterator& one,
+ const StackFrameIterator& another);
+
+
// Iterator that supports iterating through all JavaScript frames.
template<typename Iterator>
class JavaScriptFrameIteratorTemp BASE_EMBEDDED {
« no previous file with comments | « no previous file | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698