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..043ca290338984dfb52aa94bc64d5878a2ffe199 100644 |
--- a/chrome/browser/ui/webui/bug_report_ui.cc |
+++ b/chrome/browser/ui/webui/bug_report_ui.cc |
@@ -633,7 +633,7 @@ 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()) { |
Peter Kasting
2011/03/03 19:35:53
Nit: No need for {}
|
image = screenshot_source_->GetScreenshot(screenshot_path); |
} |