Index: mandoline/tab/web_view_impl.cc |
diff --git a/mandoline/tab/web_view_impl.cc b/mandoline/tab/web_view_impl.cc |
index 18563813f4ccd777e7f9b8c5b6f619920580a6c6..cb4652c6d3d3bd33343c13fc8e6fd58dbdc59c85 100644 |
--- a/mandoline/tab/web_view_impl.cc |
+++ b/mandoline/tab/web_view_impl.cc |
@@ -137,9 +137,9 @@ void WebViewImpl::RequestNavigate(Frame* source, |
Frame* target_frame, |
mojo::URLRequestPtr request) { |
// TODO: this needs security checks. |
- if (target_type == mandoline::NAVIGATION_TARGET_TYPE_EXISTING_FRAME) { |
- if (target_frame && target_frame != frame_tree_->root() && |
- target_frame->view()) { |
+ if (target_type == mandoline::NAVIGATION_TARGET_TYPE_EXISTING_FRAME && |
+ target_frame != frame_tree_->root()) { |
+ if (target_frame && target_frame->view()) { |
NavigateExistingFrame(target_frame, request.Pass()); |
return; |
} |