Chromium Code Reviews| Index: sky/engine/web/WebViewImpl.cpp |
| diff --git a/sky/engine/web/WebViewImpl.cpp b/sky/engine/web/WebViewImpl.cpp |
| index 75e8929d0519126bcd6778d1cefd1bd865524f3a..861972b73a539f34160fc02d505341728cfe87bc 100644 |
| --- a/sky/engine/web/WebViewImpl.cpp |
| +++ b/sky/engine/web/WebViewImpl.cpp |
| @@ -92,23 +92,9 @@ namespace blink { |
| // WebView ---------------------------------------------------------------- |
| -bool WebView::shouldUseWebView(const GURL& url) |
| -{ |
| - std::string filename = url.ExtractFileName(); |
| - int hashStart = filename.find('#'); |
| - if (hashStart != -1) |
| - filename.resize(hashStart); |
| - int queryStart = filename.find('?'); |
| - if (queryStart != -1) |
| - filename.resize(queryStart); |
| - // For now .dart indicates we should use SkyView. Eventually we'll |
| - // use SkyView for all urls regardless of file extension. |
| - return !EndsWith(filename, ".dart", false) |
| - && !EndsWith(filename, ".snapshot", false); |
| -} |
| - |
| WebView* WebView::create(WebViewClient* client) |
| { |
| + CRASH(); // WebView is deprecated. Please use SkyView. |
|
Hixie
2015/06/30 21:45:03
I'm assuming deleting WebView itself is the next s
|
| // Pass the WebViewImpl's self-reference to the caller. |
| return WebViewImpl::create(client); |
| } |