Index: Source/web/ChromeClientImpl.cpp |
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp |
index ee5bdbe1b2693ecb9f3d38f744f804418b04287b..0ce573cd484a1d81d5958139e02b90ababefa78d 100644 |
--- a/Source/web/ChromeClientImpl.cpp |
+++ b/Source/web/ChromeClientImpl.cpp |
@@ -62,7 +62,6 @@ |
#include "platform/FileChooser.h" |
#include "platform/NotImplemented.h" |
#include "platform/PlatformScreen.h" |
-#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/exported/WrappedResourceRequest.h" |
#include "platform/geometry/FloatRect.h" |
#include "platform/geometry/IntRect.h" |
@@ -582,10 +581,8 @@ void ChromeClientImpl::print(LocalFrame* frame) |
PassOwnPtr<ColorChooser> ChromeClientImpl::createColorChooser(LocalFrame* frame, ColorChooserClient* chooserClient, const Color&) |
{ |
OwnPtr<ColorChooserUIController> controller; |
- if (RuntimeEnabledFeatures::pagePopupEnabled()) |
- controller = adoptPtr(new ColorChooserPopupUIController(frame, this, chooserClient)); |
- else |
- controller = adoptPtr(new ColorChooserUIController(frame, chooserClient)); |
+ |
+ controller = adoptPtr(new ColorChooserPopupUIController(frame, this, chooserClient)); |
controller->openUI(); |
return controller.release(); |
} |