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

Unified Diff: src/trusted/gdb_rsp/test.cc

Issue 10365028: Debug stub: associate NaClAppThread with IThread (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 8 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
Index: src/trusted/gdb_rsp/test.cc
diff --git a/src/trusted/gdb_rsp/test.cc b/src/trusted/gdb_rsp/test.cc
index bb9e61c5c922a690ad2300b42ba9ec0a88a665e3..4e1a880d32b0eab0eba19d9830dfed5999062b93 100644
--- a/src/trusted/gdb_rsp/test.cc
+++ b/src/trusted/gdb_rsp/test.cc
@@ -99,9 +99,8 @@ class ThreadMock : public IThread {
uint32_t id_;
};
-IThread* IThread::Acquire(uint32_t id, bool create) {
- if (create) return new ThreadMock(id);
- return NULL;
+IThread* IThread::Create(uint32_t id, struct NaClAppThread *) {
Mark Seaborn 2012/05/07 21:56:49 Please use "struct NaClAppThread *natp"; make sure
eaeltsin 2012/05/08 11:10:19 Not naming unused parameters is a very common C++
Mark Seaborn 2012/05/09 00:06:06 If a parameter is nameless, how do you view its co
+ return new ThreadMock(id);
}

Powered by Google App Engine
This is Rietveld 408576698