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

Unified Diff: tools/viewer/sk_app/Window.cpp

Issue 2069653002: Use Offscreen Surface for Split Screen (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 6 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: tools/viewer/sk_app/Window.cpp
diff --git a/tools/viewer/sk_app/Window.cpp b/tools/viewer/sk_app/Window.cpp
index 7ec8baae36b7ef04f5ae0f92b17711e066568fd0..1a478048641aef0ed4b68ecf16830a1253989912 100644
--- a/tools/viewer/sk_app/Window.cpp
+++ b/tools/viewer/sk_app/Window.cpp
@@ -113,4 +113,8 @@ void Window::markInvalProcessed() {
fIsContentInvalidated = false;
}
+WindowContext* Window::getContext() {
+ return fWindowContext;
+}
+
} // namespace sk_app

Powered by Google App Engine
This is Rietveld 408576698