Commit e47b323a authored by hshi@chromium.org's avatar hshi@chromium.org

File Manager: fix an unsafe const reference (intermittent crash).

Regression started by (http://crrev.com/148492).

The FilePath.BaseName().value() is a local temp object and it is not safe to
assign it to a const string reference. Use the display_name instead.

BUG=139736
TEST=lumpy

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=149234

Landed as a separate CL: Add ChromeOS-specific OWNERS for extensions.

Review URL: https://chromiumcodereview.appspot.com/10828086

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149237 0039d316-1c4b-4281-b951-d872f2087c98
parent 2e244ab7
......@@ -12,3 +12,11 @@ miket@chromium.org
mpcomplete@chromium.org
skerner@chromium.org
yoz@chromium.org
# Additional ChromeOS-specific reviewers
achuith@chromium.org
hashimoto@chromium.org
hshi@chromium.org
satorux@chromium.org
tbarzic@chromium.org
zelidrag@chromium.org
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment