| Index: chrome/browser/ui/webui/bug_report_ui.cc
|
| diff --git a/chrome/browser/ui/webui/bug_report_ui.cc b/chrome/browser/ui/webui/bug_report_ui.cc
|
| index 82ced3ad55df7ef1292ffa4c2da2d4fa9511b42f..1b459bf68aab00b7d2495296ff8bc33e96fd9bd3 100644
|
| --- a/chrome/browser/ui/webui/bug_report_ui.cc
|
| +++ b/chrome/browser/ui/webui/bug_report_ui.cc
|
| @@ -633,9 +633,8 @@ void BugReportHandler::HandleSendReport(const ListValue* list_value) {
|
|
|
| // Get the image to send in the report.
|
| std::vector<unsigned char> image;
|
| - if (screenshot_path.size() > 0) {
|
| + if (!screenshot_path.empty())
|
| image = screenshot_source_->GetScreenshot(screenshot_path);
|
| - }
|
|
|
| #if defined(OS_CHROMEOS)
|
| if (++i == list_value->end()) {
|
|
|