Index: chrome/browser/ui/views/constrained_html_delegate_views.cc |
diff --git a/chrome/browser/ui/views/constrained_html_delegate_views.cc b/chrome/browser/ui/views/constrained_html_delegate_views.cc |
index a5b533385f9184c2d6c289b4e2d54a1db5031b55..3c9b5d20e5af666ad3c6f5b3196496ed8f2b0469 100644 |
--- a/chrome/browser/ui/views/constrained_html_delegate_views.cc |
+++ b/chrome/browser/ui/views/constrained_html_delegate_views.cc |
@@ -122,6 +122,10 @@ ConstrainedWindow* ConstrainedHtmlUI::CreateConstrainedHtmlDialog( |
Profile* profile, |
HtmlDialogUIDelegate* delegate, |
TabContentsWrapper* container) { |
+#if defined(USE_AURA) |
+ // TODO(saintlou): Another atrocious hack until we get PureView version. |
+ return NULL; |
+#else |
ConstrainedHtmlDelegateViews* constrained_delegate = |
new ConstrainedHtmlDelegateViews(profile, delegate); |
ConstrainedWindow* constrained_window = |
@@ -129,4 +133,5 @@ ConstrainedWindow* ConstrainedHtmlUI::CreateConstrainedHtmlDialog( |
constrained_delegate); |
constrained_delegate->set_window(constrained_window); |
return constrained_window; |
+#endif |
} |