Index: win8/delegate_execute/delegate_execute.cc |
diff --git a/win8/delegate_execute/delegate_execute.cc b/win8/delegate_execute/delegate_execute.cc |
index a41fb5bcc8ff8f886ceaa6847682cf671bae0315..01e1fd4366d01c21760669ee4ca0e6666f1a2aaf 100644 |
--- a/win8/delegate_execute/delegate_execute.cc |
+++ b/win8/delegate_execute/delegate_execute.cc |
@@ -46,10 +46,10 @@ class DelegateExecuteModule |
HRESULT PreMessageLoop(int nShowCmd) { |
HRESULT hr = S_OK; |
- base::string16 clsid_string; |
GUID clsid; |
BrowserDistribution* dist = BrowserDistribution::GetDistribution(); |
- if (!dist->GetCommandExecuteImplClsid(&clsid_string)) |
+ const base::string16 clsid_string = dist->GetCommandExecuteImplClsid(); |
+ if (clsid_string.empty()) |
return E_FAIL; |
hr = ::CLSIDFromString(clsid_string.c_str(), &clsid); |
if (FAILED(hr)) |