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

Unified Diff: Source/platform/heap/ThreadState.h

Issue 1185573005: Oilpan: Fix return type of ThreadState::checkThread(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/ThreadState.h
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h
index 00ce2e5979287e4bfa2f86a337ae3ca92e4064aa..96baa75ea8b44898e1aa624aa2d6753fb02d67c1 100644
--- a/Source/platform/heap/ThreadState.h
+++ b/Source/platform/heap/ThreadState.h
@@ -313,11 +313,7 @@ public:
}
bool isMainThread() const { return this == mainThreadState(); }
- bool checkThread() const
- {
- ASSERT(m_thread == currentThread());
- return true;
- }
+ void checkThread() const { ASSERT(m_thread == currentThread()); }
void didV8MajorGC(bool forceGC);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698