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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioNode.cpp

Issue 1816283002: Fix compile errors when DEBUG_AUDIONODE_REFERENCES is set. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/modules/webaudio/AudioNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp b/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp
index a4c84b529378164363cc27281a41098916c95dfe..09e5c88846a154c0926cfa07403a4a25d4f5ec62 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp
@@ -72,9 +72,9 @@ AudioHandler::~AudioHandler()
ASSERT(!node());
InstanceCounters::decrementCounter(InstanceCounters::AudioHandlerCounter);
#if DEBUG_AUDIONODE_REFERENCES
- --s_nodeCount[nodeType()];
+ --s_nodeCount[getNodeType()];
fprintf(stderr, "%p: %2d: AudioNode::~AudioNode() %d [%d]\n",
- this, nodeType(), m_connectionRefCount, s_nodeCount[nodeType()]);
+ this, getNodeType(), m_connectionRefCount, s_nodeCount[getNodeType()]);
#endif
}
@@ -174,7 +174,7 @@ void AudioHandler::setNodeType(NodeType type)
#if DEBUG_AUDIONODE_REFERENCES
++s_nodeCount[type];
- fprintf(stderr, "%p: %2d: AudioNode::AudioNode [%3d]\n", this, nodeType(), s_nodeCount[nodeType()]);
+ fprintf(stderr, "%p: %2d: AudioNode::AudioNode [%3d]\n", this, getNodeType(), s_nodeCount[getNodeType()]);
#endif
}
« 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