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

Unified Diff: tools/ipc_fuzzer/fuzzer/fuzzer.cc

Issue 2374183006: Remove GLFrameData from CompositorFrame. (Closed)
Patch Set: Rebase. Created 4 years, 2 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/ipc_fuzzer/fuzzer/fuzzer.cc
diff --git a/tools/ipc_fuzzer/fuzzer/fuzzer.cc b/tools/ipc_fuzzer/fuzzer/fuzzer.cc
index b0c8e13096a919107fac670868b2e676d4982294..ad02ffc79d6ce30510f3f3e6d7b905c85f11206a 100644
--- a/tools/ipc_fuzzer/fuzzer/fuzzer.cc
+++ b/tools/ipc_fuzzer/fuzzer/fuzzer.cc
@@ -681,19 +681,13 @@ struct FuzzTraits<cc::CompositorFrame> {
if (!FuzzParam(&p->metadata, fuzzer))
return false;
- switch (RandInRange(3)) {
+ switch (RandInRange(2)) {
case 0: {
p->delegated_frame_data.reset(new cc::DelegatedFrameData());
if (!FuzzParam(p->delegated_frame_data.get(), fuzzer))
return false;
return true;
}
- case 1: {
- p->gl_frame_data.reset(new cc::GLFrameData());
- if (!FuzzParam(p->gl_frame_data.get(), fuzzer))
- return false;
- return true;
- }
default:
// Fuzz nothing to handle the no frame case.
return true;
« no previous file with comments | « services/ui/surfaces/direct_output_surface_ozone.cc ('k') | ui/compositor/test/in_process_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698