Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1213)

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 1878493002: ASSERT_NOT_REACHED() -> NOTREACHED() in web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 8489ef36de695662161047e80f1f31e0300bc5ff..e5d845e9d073d7e2c90e9867b6fc09b977ca5a6d 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -905,7 +905,7 @@ WebInputEventResult WebViewImpl::handleGestureEvent(const WebGestureEvent& event
break;
}
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
m_client->didHandleGestureEvent(event, eventCancelled);
return eventResult;
@@ -2200,7 +2200,7 @@ WebInputEventResult WebViewImpl::handleInputEvent(const WebInputEvent& inputEven
gestureIndicator = adoptPtr(new UserGestureIndicator(m_mouseCaptureGestureToken.release()));
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
node->dispatchMouseEvent(
@@ -2581,7 +2581,7 @@ int WebViewImpl::textInputFlags()
else if (autocapitalize == sentences)
flags |= WebTextInputFlagAutocapitalizeSentences;
else
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
}
@@ -3515,7 +3515,7 @@ void WebViewImpl::performMediaPlayerAction(const WebMediaPlayerAction& action,
mediaElement->setBooleanAttribute(HTMLNames::controlsAttr, action.enable);
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
}
@@ -3541,7 +3541,7 @@ void WebViewImpl::performPluginAction(const WebPluginAction& action,
plugin->plugin()->rotateView(WebPlugin::RotationType90Counterclockwise);
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
}
}
@@ -4529,7 +4529,7 @@ void WebViewImpl::pointerLockMouseEvent(const WebInputEvent& event)
eventType = EventTypeNames::mousemove;
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
const WebMouseEvent& mouseEvent = static_cast<const WebMouseEvent&>(event);

Powered by Google App Engine
This is Rietveld 408576698