summaryrefslogtreecommitdiffstats
path: root/mojo/public
diff options
context:
space:
mode:
authorlhchavez <lhchavez@chromium.org>2016-01-11 10:25:00 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-11 18:26:15 +0000
commitec023cc200ab2b526d855bc38d87d1d3d07f183f (patch)
treed65f0e9c691ebfa1e46de7dfe035c0c498a4956e /mojo/public
parentc1335ee526bbcf8d761df3c2b3903bc038b0624d (diff)
downloadchromium_src-ec023cc200ab2b526d855bc38d87d1d3d07f183f.zip
chromium_src-ec023cc200ab2b526d855bc38d87d1d3d07f183f.tar.gz
chromium_src-ec023cc200ab2b526d855bc38d87d1d3d07f183f.tar.bz2
mojo: Fix compilation of AssociatedInterfacePtr::associated_group()
AssociatedInterfacePtr::internal_state_ is not a pointer type, so using -> causes a compilation error. BUG=573004 TEST=Calling associated_group() compiles Review URL: https://codereview.chromium.org/1571333003 Cr-Commit-Position: refs/heads/master@{#368623}
Diffstat (limited to 'mojo/public')
-rw-r--r--mojo/public/cpp/bindings/associated_interface_ptr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mojo/public/cpp/bindings/associated_interface_ptr.h b/mojo/public/cpp/bindings/associated_interface_ptr.h
index ba93e4e..f683637 100644
--- a/mojo/public/cpp/bindings/associated_interface_ptr.h
+++ b/mojo/public/cpp/bindings/associated_interface_ptr.h
@@ -136,7 +136,7 @@ class AssociatedInterfacePtr {
// Returns the associated group that this object belongs to. Returns null if
// the object is not bound.
AssociatedGroup* associated_group() {
- return internal_state_->associated_group();
+ return internal_state_.associated_group();
}
// DO NOT USE. Exposed only for internal use and for testing.