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

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: rebased 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
« no previous file with comments | « src/trusted/gdb_rsp/target_test.cc ('k') | src/trusted/port/thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 *) {
+ return new ThreadMock(id);
}
« no previous file with comments | « src/trusted/gdb_rsp/target_test.cc ('k') | src/trusted/port/thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698