| Index: content/shell/shell_gtk.cc
|
| diff --git a/content/shell/shell_gtk.cc b/content/shell/shell_gtk.cc
|
| index 6261b805444719fbad90c143ffdb2783bf3f09f1..2cfbc475fb07ae2981a61e49e4df52bc5687555b 100644
|
| --- a/content/shell/shell_gtk.cc
|
| +++ b/content/shell/shell_gtk.cc
|
| @@ -17,7 +17,6 @@
|
| #include "content/public/common/renderer_preferences.h"
|
| #include "content/shell/shell_browser_context.h"
|
| #include "content/shell/shell_content_browser_client.h"
|
| -#include "third_party/skia/include/core/SkColor.h"
|
|
|
| namespace content {
|
|
|
| @@ -190,20 +189,6 @@ void Shell::PlatformCreateWindow(int width, int height) {
|
| void Shell::PlatformSetContents() {
|
| WebContentsView* content_view = web_contents_->GetView();
|
| gtk_container_add(GTK_CONTAINER(vbox_), content_view->GetNativeView());
|
| -
|
| - // As an additional requirement on Linux, we must set the colors for the
|
| - // render widgets in webkit.
|
| - content::RendererPreferences* prefs =
|
| - web_contents_->GetMutableRendererPrefs();
|
| - prefs->focus_ring_color = SkColorSetARGB(255, 229, 151, 0);
|
| - prefs->thumb_active_color = SkColorSetRGB(244, 244, 244);
|
| - prefs->thumb_inactive_color = SkColorSetRGB(234, 234, 234);
|
| - prefs->track_color = SkColorSetRGB(211, 211, 211);
|
| -
|
| - prefs->active_selection_bg_color = SkColorSetRGB(30, 144, 255);
|
| - prefs->active_selection_fg_color = SK_ColorWHITE;
|
| - prefs->inactive_selection_bg_color = SkColorSetRGB(200, 200, 200);
|
| - prefs->inactive_selection_fg_color = SkColorSetRGB(50, 50, 50);
|
| }
|
|
|
| void Shell::SizeTo(int width, int height) {
|
|
|