summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/chromeos/browser_main_chromeos.h2
-rw-r--r--ui/gfx/gtk_util.h5
2 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/browser_main_chromeos.h b/chrome/browser/chromeos/browser_main_chromeos.h
index 61d281e..778a568 100644
--- a/chrome/browser/chromeos/browser_main_chromeos.h
+++ b/chrome/browser/chromeos/browser_main_chromeos.h
@@ -11,7 +11,7 @@ class BrowserMainPartsChromeos : public BrowserMainPartsGtk {
public:
explicit BrowserMainPartsChromeos(const MainFunctionParams& parameters);
- ~BrowserMainPartsChromeos();
+ virtual ~BrowserMainPartsChromeos();
virtual void PreMainMessageLoopStart() OVERRIDE;
virtual void PostMainMessageLoopStart() OVERRIDE;
diff --git a/ui/gfx/gtk_util.h b/ui/gfx/gtk_util.h
index 71b9e52..3d1869f 100644
--- a/ui/gfx/gtk_util.h
+++ b/ui/gfx/gtk_util.h
@@ -64,7 +64,10 @@ UI_EXPORT std::string RemoveWindowsStyleAccelerators(const std::string& label);
// Makes a copy of |pixels| with the ordering changed from BGRA to RGBA.
// The caller is responsible for free()ing the data. If |stride| is 0, it's
// assumed to be 4 * |width|.
-uint8_t* BGRAToRGBA(const uint8_t* pixels, int width, int height, int stride);
+UI_EXPORT uint8_t* BGRAToRGBA(const uint8_t* pixels,
+ int width,
+ int height,
+ int stride);
// Initialize some GTK settings so that our dialogs are consistent.
void InitRCStyles();