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

Unified Diff: src/sampler.cc

Issue 316133002: Move atomic ops and related files to base library (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 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 | « src/sampler.h ('k') | src/spaces.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/sampler.cc
diff --git a/src/sampler.cc b/src/sampler.cc
index 27c763a45460a7a3258aa7a356552be8519a1cd4..dcb4be72afcd72c1fcb5f93633b765b8ae304dc4 100644
--- a/src/sampler.cc
+++ b/src/sampler.cc
@@ -38,7 +38,7 @@
#elif V8_OS_WIN || V8_OS_CYGWIN
-#include "src/win32-headers.h"
+#include "src/base/win32-headers.h"
#endif
@@ -654,7 +654,7 @@ void Sampler::Stop() {
void Sampler::IncreaseProfilingDepth() {
- NoBarrier_AtomicIncrement(&profiling_, 1);
+ base::NoBarrier_AtomicIncrement(&profiling_, 1);
#if defined(USE_SIGNALS)
SignalHandler::IncreaseSamplerCount();
#endif
@@ -665,7 +665,7 @@ void Sampler::DecreaseProfilingDepth() {
#if defined(USE_SIGNALS)
SignalHandler::DecreaseSamplerCount();
#endif
- NoBarrier_AtomicIncrement(&profiling_, -1);
+ base::NoBarrier_AtomicIncrement(&profiling_, -1);
}
« no previous file with comments | « src/sampler.h ('k') | src/spaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698