DescriptionStore IdTargetObserver::m_registry as a reference
Store IdTargetObserver::m_registry as a reference instead of a pointer.
This makes the code look safer and gets rid of an unnecessary null check.
Also make IdTargetObserverRegistry non copyable to protect against bad
assignments to references.
R=adamk@chromium.org, adamk, rwlbuis
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168419
Patch Set 1 #Patch Set 2 : Rebase #
Messages
Total messages: 4 (0 generated)
|