summaryrefslogtreecommitdiffstats
path: root/components/favicon/core/favicon_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/favicon/core/favicon_handler.cc')
-rw-r--r--components/favicon/core/favicon_handler.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/components/favicon/core/favicon_handler.cc b/components/favicon/core/favicon_handler.cc
index 641b0f1..bcdff7c 100644
--- a/components/favicon/core/favicon_handler.cc
+++ b/components/favicon/core/favicon_handler.cc
@@ -22,8 +22,7 @@
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/image/image_util.h"
-using favicon::FaviconURL;
-
+namespace favicon {
namespace {
// Size (along each axis) of a touch icon. This currently corresponds to
@@ -691,7 +690,7 @@ int FaviconHandler::ScheduleDownload(const GURL& url,
void FaviconHandler::SortAndPruneImageUrls() {
// Not using const-reference since the loop mutates FaviconURL::icon_sizes.
- for (favicon::FaviconURL& image_url : image_urls_) {
+ for (FaviconURL& image_url : image_urls_) {
if (image_url.icon_sizes.empty())
continue;
@@ -703,3 +702,5 @@ void FaviconHandler::SortAndPruneImageUrls() {
std::stable_sort(image_urls_.begin(), image_urls_.end(),
CompareIconSize);
}
+
+} // namespace favicon