| Index: chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc
|
| diff --git a/chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc b/chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc
|
| index e954bd582444e32184bf4aa31e3f204afe47cec4..6a420bae25b0943238b89fd07cef1b50df407b0c 100644
|
| --- a/chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc
|
| +++ b/chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc
|
| @@ -54,8 +54,9 @@ class TestListener : public content::NotificationObserver {
|
| void Observe(int type,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) override {
|
| - const std::string& content = *content::Details<std::string>(details).ptr();
|
| - if (content == kBackgroundReady) {
|
| + const std::string& message =
|
| + content::Details<std::pair<std::string, bool*>>(details).ptr()->first;
|
| + if (message == kBackgroundReady) {
|
| // Initializes IMF for testing when receives ready message from
|
| // background.
|
| InputMethodManager* manager = InputMethodManager::Get();
|
|
|