summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
authordeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-07 14:10:08 +0000
committerdeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-07 14:10:08 +0000
commitdd6ad6dd02501f33768037ced54ff3eaedf9bbb6 (patch)
tree85f93be898260d0f4ee90292ac7d1ad57bf6442b /chrome/plugin
parentb0b373d689287801f0057377ff9fea98b2accfa4 (diff)
downloadchromium_src-dd6ad6dd02501f33768037ced54ff3eaedf9bbb6.zip
chromium_src-dd6ad6dd02501f33768037ced54ff3eaedf9bbb6.tar.gz
chromium_src-dd6ad6dd02501f33768037ced54ff3eaedf9bbb6.tar.bz2
Move away from the deprecated atomic.h interface to AtomicRefCount and AtomicSequenceNumber.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/plugin_process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/plugin/plugin_process.cc b/chrome/plugin/plugin_process.cc
index 53c0a3a..ad8a578 100644
--- a/chrome/plugin/plugin_process.cc
+++ b/chrome/plugin/plugin_process.cc
@@ -93,7 +93,7 @@ void PluginProcess::OnFinalRelease() {
}
void PluginProcess::OnProcessShutdownTimeout() {
- if (GetProcessRefcount() == 0) {
+ if (ProcessRefCountIsZero()) {
// The plugin process shutdown sequence is a request response based
// mechanism, where we send out an initial feeler request to the plugin
// process host instance in the browser to verify if it is ok to shutdown