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

Unified Diff: Source/modules/webaudio/AudioNodeInput.h

Issue 460303003: Merge m_didCallDispose and m_isMarkedForDeletion flags into one flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | « Source/modules/webaudio/AudioNode.cpp ('k') | Source/modules/webaudio/AudioParam.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioNodeInput.h
diff --git a/Source/modules/webaudio/AudioNodeInput.h b/Source/modules/webaudio/AudioNodeInput.h
index ae2389bebc02b33d2108bb995cb557c3e2831697..c55e921d092903a8b5ab41af283b36da1c8c4046 100644
--- a/Source/modules/webaudio/AudioNodeInput.h
+++ b/Source/modules/webaudio/AudioNodeInput.h
@@ -45,9 +45,7 @@ public:
// AudioSummingJunction
virtual void trace(Visitor*) OVERRIDE;
-#if !ENABLE(OILPAN)
- virtual bool canUpdateState() OVERRIDE { return !node().isMarkedForDeletion(); }
-#endif
+ virtual bool canUpdateState() OVERRIDE { return !node().isDisposeCalled(); }
virtual void didUpdate() OVERRIDE;
// Can be called from any thread.
« no previous file with comments | « Source/modules/webaudio/AudioNode.cpp ('k') | Source/modules/webaudio/AudioParam.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698