summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/browser_theme_provider.cc5
-rw-r--r--chrome/browser/browser_theme_provider.h2
2 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/browser_theme_provider.cc b/chrome/browser/browser_theme_provider.cc
index fa6aa89..e59caf8 100644
--- a/chrome/browser/browser_theme_provider.cc
+++ b/chrome/browser/browser_theme_provider.cc
@@ -6,7 +6,6 @@
#include "app/gfx/skbitmap_operations.h"
#include "base/file_util.h"
-#include "base/string_util.h"
#include "base/gfx/png_decoder.h"
#include "base/gfx/png_encoder.h"
#include "base/string_util.h"
@@ -231,7 +230,9 @@ bool BrowserThemeProvider::WriteImagesToDisk() {
}
BrowserThemeProvider::BrowserThemeProvider()
- : rb_(ResourceBundle::GetSharedInstance()) {
+ : rb_(ResourceBundle::GetSharedInstance()),
+ profile_(NULL),
+ process_images_(false) {
static bool initialized = false;
if (!initialized) {
for (size_t i = 0; i < arraysize(kToolbarButtonIDs); ++i) {
diff --git a/chrome/browser/browser_theme_provider.h b/chrome/browser/browser_theme_provider.h
index 3c72549e..cec14d1f 100644
--- a/chrome/browser/browser_theme_provider.h
+++ b/chrome/browser/browser_theme_provider.h
@@ -146,7 +146,7 @@ class BrowserThemeProvider : public NonThreadSafe,
} AlignmentMasks;
// Background tiling choices.
- enum {
+ typedef enum {
NO_REPEAT = 0,
REPEAT_X = 1,
REPEAT_Y = 2,