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

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

Issue 2871953003: Fix comments to match code in AudioNode.h (Closed)
Patch Set: Created 3 years, 7 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.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNode.h b/third_party/WebKit/Source/modules/webaudio/AudioNode.h
index f1079d6998a6c449ebe9f8d5a86f58bd346cf679..7deea479282401611eb78fa722afef5b1178841e 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioNode.h
@@ -106,8 +106,8 @@ class MODULES_EXPORT AudioHandler : public ThreadSafeRefCounted<AudioHandler> {
// Do not release resources used by an audio rendering thread in dispose().
virtual void Dispose();
- // node() returns a valid object until dispose() is called. This returns
- // nullptr after dispose(). We must not call node() in an audio rendering
+ // GetNode() returns a valid object until dispose() is called. This returns
+ // nullptr after dispose(). We must not call GetNode() in an audio rendering
// thread.
AudioNode* GetNode() const;
// context() returns a valid object until the BaseAudioContext dies, and
@@ -259,8 +259,8 @@ class MODULES_EXPORT AudioHandler : public ThreadSafeRefCounted<AudioHandler> {
NodeType node_type_;
// The owner AudioNode. This untraced member is safe because dispose() is
- // called before the AudioNode death, and it clears m_node. Do not access
- // m_node directly, use node() instead.
+ // called before the AudioNode death, and it clears |node_|. Do not access
+ // |node_| directly, use GetNode() instead.
// See http://crbug.com/404527 for the detail.
UntracedMember<AudioNode> node_;
« 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