summaryrefslogtreecommitdiffstats
path: root/ui/android
diff options
context:
space:
mode:
authoraurimas@chromium.org <aurimas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-07 22:10:07 +0000
committeraurimas@chromium.org <aurimas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-07 22:10:07 +0000
commit311544d163440b69d47496e3ecbb88f6650147fe (patch)
treec61740134a8407c2dc28be3c255da5c63e41d34f /ui/android
parentf9e8f45a53dfb8829bfc9e7d09fc27602944d86e (diff)
downloadchromium_src-311544d163440b69d47496e3ecbb88f6650147fe.zip
chromium_src-311544d163440b69d47496e3ecbb88f6650147fe.tar.gz
chromium_src-311544d163440b69d47496e3ecbb88f6650147fe.tar.bz2
Adding a test for SelectFileDialog.
BUG=None NOTRY=true Review URL: https://codereview.chromium.org/185563010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255705 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/android')
-rw-r--r--ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java b/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java
index 4e7509f..7391ac5 100644
--- a/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java
+++ b/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java
@@ -149,9 +149,7 @@ class SelectFileDialog implements WindowAndroid.IntentCallback{
// see crbug.com/345393
return "";
} finally {
- if (cursor != null ) {
- cursor.close();
- }
+ if (cursor != null) cursor.close();
}
return "";
}