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

Unified Diff: third_party/WebKit/Source/core/editing/FrameSelection.cpp

Issue 1512803004: Use refs for GraphicsContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Created 5 years 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/core/editing/FrameSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
index 9fe6beba96bea0b9ab8c2785c6e2526913780a56..7a96e160537da9cef9c1ad09b0fd198d64da013e 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
@@ -710,7 +710,7 @@ void FrameSelection::invalidateCaretRect()
m_previousCaretVisibility = caretVisibility();
}
-void FrameSelection::paintCaret(GraphicsContext* context, const LayoutPoint& paintOffset)
+void FrameSelection::paintCaret(GraphicsContext& context, const LayoutPoint& paintOffset)
{
if (selection().isCaret() && m_shouldPaintCaret) {
updateCaretRect(PositionWithAffinity(selection().start(), selection().affinity()));
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameSelection.h ('k') | third_party/WebKit/Source/core/editing/FrameSelectionTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698