summaryrefslogtreecommitdiffstats
path: root/win8
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-07 20:59:58 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-07 20:59:58 +0000
commit550a2f22e6f1c58fcc26749872220d94f6efc69c (patch)
tree2ba832a75783ed78a81ac1d63e99e44ee00539b1 /win8
parenta23451e3979d1f5c68d5bf87ec30ae983327620d (diff)
downloadchromium_src-550a2f22e6f1c58fcc26749872220d94f6efc69c.zip
chromium_src-550a2f22e6f1c58fcc26749872220d94f6efc69c.tar.gz
chromium_src-550a2f22e6f1c58fcc26749872220d94f6efc69c.tar.bz2
Make some Win Aura code use "if (weak_ptr)" style
This is an almost-revert of r204244. BUG=245942 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/16268015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204924 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8')
-rw-r--r--win8/test/open_with_dialog_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win8/test/open_with_dialog_controller.cc b/win8/test/open_with_dialog_controller.cc
index 27b8e2d..859037b 100644
--- a/win8/test/open_with_dialog_controller.cc
+++ b/win8/test/open_with_dialog_controller.cc
@@ -238,7 +238,7 @@ OpenWithDialogController::OpenWithDialogController() {}
OpenWithDialogController::~OpenWithDialogController() {
// Orphan the context if this instance is being destroyed before the context
// finishes its work.
- if (context_.get())
+ if (context_)
context_->Orphan();
}