Index: sky/engine/web/WebViewImpl.cpp |
diff --git a/sky/engine/web/WebViewImpl.cpp b/sky/engine/web/WebViewImpl.cpp |
index 10ae28b364b37bb7314b6a3e1fc046b55505e255..6b53e0b56a224dcae0e772f3a4b46963608bd7f1 100644 |
--- a/sky/engine/web/WebViewImpl.cpp |
+++ b/sky/engine/web/WebViewImpl.cpp |
@@ -104,7 +104,8 @@ bool WebView::shouldUseWebView(const GURL& url) |
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); |
+ return !EndsWith(filename, ".dart", false) |
+ && !EndsWith(filename, ".snapshot", false); |
} |
WebView* WebView::create(WebViewClient* client) |