summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2017-05-03 13:26:51 -0300
committerRenato Botelho <garga@FreeBSD.org>2017-05-03 13:26:51 -0300
commitad78354fdf2012d5cad519f1aeb9fd7b0baefcc5 (patch)
tree792d95f4889a896e0233ed61b9e0c2d8396ad5be /www
parent0ab6edbc213b13c14f547c7a3d2f638ce1061967 (diff)
parent466d5086c13b3c5ce0297c4e8fe5158b4db0e4ef (diff)
downloadFreeBSD-ports-ad78354fdf2012d5cad519f1aeb9fd7b0baefcc5.zip
FreeBSD-ports-ad78354fdf2012d5cad519f1aeb9fd7b0baefcc5.tar.gz
Merge remote-tracking branch 'origin/branches/2017Q2' into RELENG_2_3v2.3.4
Diffstat (limited to 'www')
-rw-r--r--www/chromium/Makefile21
-rw-r--r--www/chromium/distinfo10
-rw-r--r--www/chromium/files/extra-patch-1011
-rw-r--r--www/chromium/files/extra-patch-clang21
-rw-r--r--www/chromium/files/patch-BUILD.gn38
-rw-r--r--www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc2
-rw-r--r--www/chromium/files/patch-ash_display_mirror__window__controller.cc4
-rw-r--r--www/chromium/files/patch-base_BUILD.gn27
-rw-r--r--www/chromium/files/patch-base__trace_event__process_memory_dump.h2
-rw-r--r--www/chromium/files/patch-base_allocator_BUILD.gn12
-rw-r--r--www/chromium/files/patch-base_allocator_allocator__shim.cc4
-rw-r--r--www/chromium/files/patch-base_allocator_allocator__shim__default__dispatch__to__glibc.cc25
-rw-r--r--www/chromium/files/patch-base_allocator_allocator__shim__override__libc__symbols.h2
-rw-r--r--www/chromium/files/patch-base_allocator_allocator__shim__unittest.cc63
-rw-r--r--www/chromium/files/patch-base_debug_proc__maps__linux.cc2
-rw-r--r--www/chromium/files/patch-base_debug_stack__trace__posix.cc8
-rw-r--r--www/chromium/files/patch-base_debug_thread__heap__usage__tracker.cc4
-rw-r--r--www/chromium/files/patch-base_files_file__path__unittest.cc2
-rw-r--r--www/chromium/files/patch-base_files_file__path__watcher__kqueue.h2
-rw-r--r--www/chromium/files/patch-base_files_file__util.h4
-rw-r--r--www/chromium/files/patch-base_linux__util.cc2
-rw-r--r--www/chromium/files/patch-base_native__library__posix.cc2
-rw-r--r--www/chromium/files/patch-base_posix_unix__domain__socket__linux.cc2
-rw-r--r--www/chromium/files/patch-base_posix_unix__domain__socket__linux__unittest.cc2
-rw-r--r--www/chromium/files/patch-base_process_internal__linux.h2
-rw-r--r--www/chromium/files/patch-base_process_launch.cc2
-rw-r--r--www/chromium/files/patch-base_process_launch.h2
-rw-r--r--www/chromium/files/patch-base_process_launch__posix.cc2
-rw-r--r--www/chromium/files/patch-base_process_memory.cc11
-rw-r--r--www/chromium/files/patch-base_process_memory.h2
-rw-r--r--www/chromium/files/patch-base_process_memory__stubs.cc2
-rw-r--r--www/chromium/files/patch-base_process_memory__unittest.cc6
-rw-r--r--www/chromium/files/patch-base_process_process__handle__freebsd.cc2
-rw-r--r--www/chromium/files/patch-base_process_process__info__linux.cc8
-rw-r--r--www/chromium/files/patch-base_process_process__iterator__freebsd.cc2
-rw-r--r--www/chromium/files/patch-base_process_process__metrics.h2
-rw-r--r--www/chromium/files/patch-base_process_process__metrics__freebsd.cc2
-rw-r--r--www/chromium/files/patch-base_process_process__posix.cc8
-rw-r--r--www/chromium/files/patch-base_profiler_stack__sampling__profiler__unittest.cc4
-rw-r--r--www/chromium/files/patch-base_security__unittest.cc2
-rw-r--r--www/chromium/files/patch-base_sys__info__freebsd.cc2
-rw-r--r--www/chromium/files/patch-base_sys__info__posix.cc2
-rw-r--r--www/chromium/files/patch-base_test_BUILD.gn2
-rw-r--r--www/chromium/files/patch-base_test_launcher_test__launcher.cc2
-rw-r--r--www/chromium/files/patch-base_test_test__file__util__posix.cc2
-rw-r--r--www/chromium/files/patch-base_third__party_libevent_BUILD.gn2
-rw-r--r--www/chromium/files/patch-base_threading_platform__thread.h4
-rw-r--r--www/chromium/files/patch-base_threading_platform__thread__linux.cc2
-rw-r--r--www/chromium/files/patch-base_threading_platform__thread__posix.cc2
-rw-r--r--www/chromium/files/patch-base_threading_thread__task__runner__handle.cc26
-rw-r--r--www/chromium/files/patch-base_trace__event_malloc__dump__provider.cc2
-rw-r--r--www/chromium/files/patch-base_trace__event_process__memory__dump.cc2
-rw-r--r--www/chromium/files/patch-breakpad_BUILD.gn2
-rw-r--r--www/chromium/files/patch-breakpad_src_common_simple__string__dictionary.h11
-rw-r--r--www/chromium/files/patch-build_config_BUILD.gn8
-rw-r--r--www/chromium/files/patch-build_config_BUILDCONFIG.gn2
-rw-r--r--www/chromium/files/patch-build_config_allocator.gni17
-rw-r--r--www/chromium/files/patch-build_config_clang_BUILD.gn6
-rw-r--r--www/chromium/files/patch-build_config_compiler_BUILD.gn40
-rw-r--r--www/chromium/files/patch-build_config_crypto.gni2
-rw-r--r--www/chromium/files/patch-build_config_features.gni4
-rw-r--r--www/chromium/files/patch-build_config_linux_gtk2_BUILD.gn2
-rw-r--r--www/chromium/files/patch-build_config_linux_gtk3_BUILD.gn2
-rw-r--r--www/chromium/files/patch-build_config_linux_gtk_BUILD.gn2
-rw-r--r--www/chromium/files/patch-build_config_linux_pkg-config.py2
-rw-r--r--www/chromium/files/patch-build_config_sanitizers_BUILD.gn6
-rw-r--r--www/chromium/files/patch-build_config_sanitizers_sanitizers.gni2
-rw-r--r--www/chromium/files/patch-build_config_ui.gni2
-rw-r--r--www/chromium/files/patch-build_linux_libpci_BUILD.gn2
-rw-r--r--www/chromium/files/patch-build_secondary_third__party_nss_BUILD.gn2
-rw-r--r--www/chromium/files/patch-build_toolchain_gcc__toolchain.gni21
-rw-r--r--www/chromium/files/patch-build_toolchain_get__concurrent__links.py2
-rw-r--r--www/chromium/files/patch-cc_layers_scrollbar__layer__impl__base.cc2
-rw-r--r--www/chromium/files/patch-cc_trees_property__tree.cc4
-rw-r--r--www/chromium/files/patch-chrome_BUILD.gn8
-rw-r--r--www/chromium/files/patch-chrome_app_chrome__command__ids.h4
-rw-r--r--www/chromium/files/patch-chrome_app_chrome__main__delegate.cc8
-rw-r--r--www/chromium/files/patch-chrome_app_chrome__main__delegate.h8
-rw-r--r--www/chromium/files/patch-chrome_app_chromium__strings.grd4
-rw-r--r--www/chromium/files/patch-chrome_app_generated__resources.grd10
-rw-r--r--www/chromium/files/patch-chrome_app_google__chrome__strings.grd4
-rw-r--r--www/chromium/files/patch-chrome_app_mash_mash__runner.cc4
-rw-r--r--www/chromium/files/patch-chrome_app_resources_locale__settings.grd2
-rw-r--r--www/chromium/files/patch-chrome_app_settings__strings.grdp6
-rw-r--r--www/chromium/files/patch-chrome_app_shutdown__signal__handlers__posix.cc22
-rw-r--r--www/chromium/files/patch-chrome_browser_BUILD.gn6
-rw-r--r--www/chromium/files/patch-chrome_browser_about__flags.cc8
-rw-r--r--www/chromium/files/patch-chrome_browser_browser__process__impl.cc6
-rw-r--r--www/chromium/files/patch-chrome_browser_browser__process__impl.h4
-rw-r--r--www/chromium/files/patch-chrome_browser_browser__resources.grd4
-rw-r--r--www/chromium/files/patch-chrome_browser_chrome__browser__main.cc46
-rw-r--r--www/chromium/files/patch-chrome_browser_chrome__browser__main__linux.cc6
-rw-r--r--www/chromium/files/patch-chrome_browser_chrome__browser__main__posix.cc31
-rw-r--r--www/chromium/files/patch-chrome_browser_chrome__content__browser__client.cc41
-rw-r--r--www/chromium/files/patch-chrome_browser_chrome__content__browser__client.h4
-rw-r--r--www/chromium/files/patch-chrome_browser_defaults.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_diagnostics_diagnostics__writer.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_diagnostics_diagnostics__writer.h2
-rw-r--r--www/chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_download_download__commands.cc10
-rw-r--r--www/chromium/files/patch-chrome_browser_download_download__commands.h2
-rw-r--r--www/chromium/files/patch-chrome_browser_download_download__prefs.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_download_download__prefs.h2
-rw-r--r--www/chromium/files/patch-chrome_browser_download_download__query.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_download_download__shelf__context__menu.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_extensions_BUILD.gn8
-rw-r--r--www/chromium/files/patch-chrome_browser_extensions_activity__log_activity__log.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_extensions_api_image__writer__private_image__writer__private__api.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_extensions_api_input__ime_input__ime__api.h2
-rw-r--r--www/chromium/files/patch-chrome_browser_extensions_api_messaging_message__service.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_extensions_api_music__manager__private_device__id__linux.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_extensions_bookmark__app__helper.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_extensions_browser__context__keyed__service__factories.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_extensions_external__provider__impl.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_first__run_first__run__internal__posix.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_gpu_gl__string__manager.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_gpu_gpu__feature__checker.cc11
-rw-r--r--www/chromium/files/patch-chrome_browser_interstitials_chrome__controller__client.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_memory__details.cc6
-rw-r--r--www/chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_net_async__dns__field__trial.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_notifications_message__center__notification__manager.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc8
-rw-r--r--www/chromium/files/patch-chrome_browser_platform__util.h2
-rw-r--r--www/chromium/files/patch-chrome_browser_plugins_plugins__resource__service.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_policy_policy__prefs__browsertest.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_process__singleton__posix.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_profiles_profile__impl__io__data.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_renderer__context__menu_render__view__context__menu.cc8
-rw-r--r--www/chromium/files/patch-chrome_browser_renderer__preferences__util.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_resources_safe__browsing_BUILD.gn2
-rw-r--r--www/chromium/files/patch-chrome_browser_resources_safe__browsing_gen__file__type__proto.py2
-rw-r--r--www/chromium/files/patch-chrome_browser_resources_vulcanize.gni11
-rw-r--r--www/chromium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__handler__util.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__reporting__service.cc11
-rw-r--r--www/chromium/files/patch-chrome_browser_safe__browsing_permission__reporter.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_search_local__files__ntp__source.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_speech_tts__controller__impl.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_sync_chrome__sync__client.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group.cc16
-rw-r--r--www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group.h6
-rw-r--r--www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.h2
-rw-r--r--www/chromium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_task__manager_task__manager__observer.h10
-rw-r--r--www/chromium/files/patch-chrome_browser_tracing_crash__service__uploader.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_BUILD.gn4
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_browser__command__controller.cc10
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_browser__view__prefs.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_exclusive__access_exclusive__access__bubble.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_input__method_input__method__engine.h2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_input__method_input__method__engine__base.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_libgtkui_BUILD.gn2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_libgtkui_print__dialog__gtk.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc6
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_tab__helpers.cc11
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.cc16
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc12
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_toolbar_app__menu__model.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_accelerator__table.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_apps_chrome__native__app__window__views__aura.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_chrome__views__delegate.cc29
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_chrome__views__delegate.h19
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_first__run__dialog.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc8
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_frame_browser__view.cc11
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view__layout.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view__platform__specific.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc6
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_message__center_message__center__frame__view.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_tabs_tab__drag__controller.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_views_tabs_tab__strip.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_webui_about__ui.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_webui_extensions_extension__loader__handler.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_webui_options_browser__options__handler.cc12
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_webui_options_browser__options__handler.h2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_webui_settings_appearance__handler.cc2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_webui_settings_appearance__handler.h2
-rw-r--r--www/chromium/files/patch-chrome_browser_ui_webui_settings_md__settings__localized__strings__provider.cc6
-rw-r--r--www/chromium/files/patch-chrome_browser_web__applications_web__app.cc4
-rw-r--r--www/chromium/files/patch-chrome_browser_web__applications_web__app.h4
-rw-r--r--www/chromium/files/patch-chrome_common_BUILD.gn6
-rw-r--r--www/chromium/files/patch-chrome_common_chrome__paths.cc4
-rw-r--r--www/chromium/files/patch-chrome_common_chrome__paths.h8
-rw-r--r--www/chromium/files/patch-chrome_common_chrome__paths__internal.h4
-rw-r--r--www/chromium/files/patch-chrome_common_chrome__switches.cc4
-rw-r--r--www/chromium/files/patch-chrome_common_chrome__switches.h4
-rw-r--r--www/chromium/files/patch-chrome_common_extensions_chrome__extensions__client.cc2
-rw-r--r--www/chromium/files/patch-chrome_common_extensions_command.cc2
-rw-r--r--www/chromium/files/patch-chrome_common_features.gni2
-rw-r--r--www/chromium/files/patch-chrome_common_pref__names.cc8
-rw-r--r--www/chromium/files/patch-chrome_common_pref__names.h8
-rw-r--r--www/chromium/files/patch-chrome_common_url__constants.cc4
-rw-r--r--www/chromium/files/patch-chrome_common_url__constants.h4
-rw-r--r--www/chromium/files/patch-chrome_renderer_pepper_pepper__flash__font__file__host.cc12
-rw-r--r--www/chromium/files/patch-chrome_renderer_pepper_pepper__flash__font__file__host.h2
-rw-r--r--www/chromium/files/patch-chrome_test_BUILD.gn42
-rw-r--r--www/chromium/files/patch-chrome_test_base_in__process__browser__test.cc4
-rw-r--r--www/chromium/files/patch-chrome_test_base_testing__browser__process.h4
-rw-r--r--www/chromium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc2
-rw-r--r--www/chromium/files/patch-chromecast_BUILD.gn6
-rw-r--r--www/chromium/files/patch-chromecast_browser_BUILD.gn4
-rw-r--r--www/chromium/files/patch-chromecast_browser_cast__browser__main__parts.cc8
-rw-r--r--www/chromium/files/patch-chromecast_browser_cast__content__browser__client.cc4
-rw-r--r--www/chromium/files/patch-chromecast_browser_metrics_BUILD.gn2
-rw-r--r--www/chromium/files/patch-chromecast_crash_BUILD.gn2
-rw-r--r--www/chromium/files/patch-components_BUILD.gn4
-rw-r--r--www/chromium/files/patch-components_autofill_content_renderer_password__form__conversion__utils.cc2
-rw-r--r--www/chromium/files/patch-components_autofill_core_browser_autofill__experiments.cc11
-rw-r--r--www/chromium/files/patch-components_content__settings_core_browser_website__settings__registry.cc2
-rw-r--r--www/chromium/files/patch-components_content__settings_core_browser_website__settings__registry.h2
-rw-r--r--www/chromium/files/patch-components_cookie__config_cookie__store__util.cc2
-rw-r--r--www/chromium/files/patch-components_crash_content_app_BUILD.gn4
-rw-r--r--www/chromium/files/patch-components_crash_content_browser_BUILD.gn2
-rw-r--r--www/chromium/files/patch-components_drive_drive__api__util.cc2
-rw-r--r--www/chromium/files/patch-components_feedback_anonymizer__tool.cc2
-rw-r--r--www/chromium/files/patch-components_flags__ui_flags__state.cc4
-rw-r--r--www/chromium/files/patch-components_gcm__driver_gcm__client.h4
-rw-r--r--www/chromium/files/patch-components_gcm__driver_gcm__client__impl.cc2
-rw-r--r--www/chromium/files/patch-components_json__schema_json__schema__validator.cc4
-rw-r--r--www/chromium/files/patch-components_keyed__service_core_dependency__graph__unittest.cc2
-rw-r--r--www/chromium/files/patch-components_metrics_BUILD.gn8
-rw-r--r--www/chromium/files/patch-components_metrics_drive__metrics__provider__linux.cc2
-rw-r--r--www/chromium/files/patch-components_metrics_system__memory__stats__recorder__linux.cc2
-rw-r--r--www/chromium/files/patch-components_neterror_resources_neterror.js2
-rw-r--r--www/chromium/files/patch-components_os__crypt_os__crypt.h2
-rw-r--r--www/chromium/files/patch-components_password__manager_core_browser_import_csv__reader.cc2
-rw-r--r--www/chromium/files/patch-components_plugins_renderer_BUILD.gn2
-rw-r--r--www/chromium/files/patch-components_plugins_renderer_plugin__placeholder.cc2
-rw-r--r--www/chromium/files/patch-components_policy_BUILD.gn4
-rw-r--r--www/chromium/files/patch-components_policy_core_common_schema.cc2
-rw-r--r--www/chromium/files/patch-components_policy_resources_policy__templates.json12
-rw-r--r--www/chromium/files/patch-components_policy_tools_generate__policy__source.py2
-rw-r--r--www/chromium/files/patch-components_storage__monitor_BUILD.gn2
-rw-r--r--www/chromium/files/patch-components_storage__monitor_storage__monitor.cc2
-rw-r--r--www/chromium/files/patch-components_storage__monitor_storage__monitor__freebsd.cc2
-rw-r--r--www/chromium/files/patch-components_storage__monitor_storage__monitor__freebsd.h2
-rw-r--r--www/chromium/files/patch-components_sync_base_get__session__name.cc2
-rw-r--r--www/chromium/files/patch-components_sync_base_get__session__name__linux.cc2
-rw-r--r--www/chromium/files/patch-components_tracing_child_child__memory__dump__manager__delegate__impl.cc11
-rw-r--r--www/chromium/files/patch-components_tracing_common_process__metrics__memory__dump__provider.cc81
-rw-r--r--www/chromium/files/patch-components_tracing_common_process__metrics__memory__dump__provider.h20
-rw-r--r--www/chromium/files/patch-components_update__client_update__query__params.cc2
-rw-r--r--www/chromium/files/patch-components_url__matcher_regex__set__matcher.cc2
-rw-r--r--www/chromium/files/patch-components_url__matcher_url__matcher__factory.cc2
-rw-r--r--www/chromium/files/patch-components_variations_proto_study.proto2
-rw-r--r--www/chromium/files/patch-components_webcrypto_algorithms_test__helpers.cc2
-rw-r--r--www/chromium/files/patch-content_app_BUILD.gn4
-rw-r--r--www/chromium/files/patch-content_app_content__main__runner.cc10
-rw-r--r--www/chromium/files/patch-content_browser_BUILD.gn13
-rw-r--r--www/chromium/files/patch-content_browser_accessibility_browser__accessibility.h4
-rw-r--r--www/chromium/files/patch-content_browser_accessibility_browser__accessibility__manager.h6
-rw-r--r--www/chromium/files/patch-content_browser_browser__main__loop.cc11
-rw-r--r--www/chromium/files/patch-content_browser_child__process__launcher__helper__linux.cc10
-rw-r--r--www/chromium/files/patch-content_browser_devtools_protocol_color__picker.cc4
-rw-r--r--www/chromium/files/patch-content_browser_download_base__file.cc6
-rw-r--r--www/chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc10
-rw-r--r--www/chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h4
-rw-r--r--www/chromium/files/patch-content_browser_gpu_gpu__internals__ui.cc4
-rw-r--r--www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc4
-rw-r--r--www/chromium/files/patch-content_browser_media_media__internals.cc4
-rw-r--r--www/chromium/files/patch-content_browser_memory_memory__coordinator__impl.cc4
-rw-r--r--www/chromium/files/patch-content_browser_memory_memory__monitor.cc2
-rw-r--r--www/chromium/files/patch-content_browser_ppapi__plugin__process__host.cc10
-rw-r--r--www/chromium/files/patch-content_browser_renderer__host_media_video__capture__manager.cc6
-rw-r--r--www/chromium/files/patch-content_browser_renderer__host_render__message__filter.cc4
-rw-r--r--www/chromium/files/patch-content_browser_renderer__host_render__message__filter.h2
-rw-r--r--www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc12
-rw-r--r--www/chromium/files/patch-content_browser_renderer__host_render__view__host__impl.cc2
-rw-r--r--www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc10
-rw-r--r--www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc4
-rw-r--r--www/chromium/files/patch-content_browser_tracing_tracing__controller__impl.cc13
-rw-r--r--www/chromium/files/patch-content_browser_utility__process__host__impl.cc2
-rw-r--r--www/chromium/files/patch-content_child_child__process.cc4
-rw-r--r--www/chromium/files/patch-content_child_child__process.h4
-rw-r--r--www/chromium/files/patch-content_child_child__thread__impl.cc4
-rw-r--r--www/chromium/files/patch-content_child_child__thread__impl.h2
-rw-r--r--www/chromium/files/patch-content_common_BUILD.gn6
-rw-r--r--www/chromium/files/patch-content_common_child__process__messages.h2
-rw-r--r--www/chromium/files/patch-content_common_content__switches__internal.cc2
-rw-r--r--www/chromium/files/patch-content_common_sandbox__linux_sandbox__debug__handling__linux.cc2
-rw-r--r--www/chromium/files/patch-content_common_set__process__title__linux.cc2
-rw-r--r--www/chromium/files/patch-content_common_set__process__title__linux.h2
-rw-r--r--www/chromium/files/patch-content_common_view__messages.h4
-rw-r--r--www/chromium/files/patch-content_gpu_BUILD.gn4
-rw-r--r--www/chromium/files/patch-content_gpu_gpu__child__thread.cc12
-rw-r--r--www/chromium/files/patch-content_gpu_gpu__main.cc8
-rw-r--r--www/chromium/files/patch-content_gpu_in__process__gpu__thread.cc8
-rw-r--r--www/chromium/files/patch-content_public_common_child__process__host.h6
-rw-r--r--www/chromium/files/patch-content_public_common_content__switches.cc4
-rw-r--r--www/chromium/files/patch-content_public_common_content__switches.h4
-rw-r--r--www/chromium/files/patch-content_public_common_renderer__preferences.h4
-rw-r--r--www/chromium/files/patch-content_public_test_browser__test__base.cc2
-rw-r--r--www/chromium/files/patch-content_renderer_media_webrtc_processed__local__audio__source.cc2
-rw-r--r--www/chromium/files/patch-content_renderer_render__thread__impl.cc8
-rw-r--r--www/chromium/files/patch-content_renderer_renderer__blink__platform__impl.cc14
-rw-r--r--www/chromium/files/patch-content_renderer_renderer__blink__platform__impl.h4
-rw-r--r--www/chromium/files/patch-content_renderer_renderer__main__platform__delegate__linux.cc2
-rw-r--r--www/chromium/files/patch-content_renderer_webscrollbarbehavior__impl__aura.cc2
-rw-r--r--www/chromium/files/patch-content_shell_BUILD.gn10
-rw-r--r--www/chromium/files/patch-content_shell_browser_shell__browser__context.cc2
-rw-r--r--www/chromium/files/patch-content_shell_browser_shell__browser__main__parts.cc2
-rw-r--r--www/chromium/files/patch-content_test_BUILD.gn10
-rw-r--r--www/chromium/files/patch-crypto_nss__util.cc2
-rw-r--r--www/chromium/files/patch-device_BUILD.gn4
-rw-r--r--www/chromium/files/patch-device_battery_BUILD.gn2
-rw-r--r--www/chromium/files/patch-device_bluetooth_BUILD.gn4
-rw-r--r--www/chromium/files/patch-device_gamepad_gamepad__provider.cc2
-rw-r--r--www/chromium/files/patch-device_geolocation_BUILD.gn2
-rw-r--r--www/chromium/files/patch-device_geolocation_location__arbitrator.cc2
-rw-r--r--www/chromium/files/patch-device_hid_BUILD.gn2
-rw-r--r--www/chromium/files/patch-device_media__transfer__protocol_media__transfer__protocol__daemon__client.h2
-rw-r--r--www/chromium/files/patch-device_media__transfer__protocol_media__transfer__protocol__manager.h2
-rw-r--r--www/chromium/files/patch-device_sensors_data__fetcher__shared__memory.h (renamed from www/chromium/files/patch-content_browser_device__sensors_data__fetcher__shared__memory.h)6
-rw-r--r--www/chromium/files/patch-device_serial_BUILD.gn2
-rw-r--r--www/chromium/files/patch-device_serial_serial__io__handler__posix.cc2
-rw-r--r--www/chromium/files/patch-device_usb_usb__context.cc2
-rw-r--r--www/chromium/files/patch-device_usb_usb__context__unittest.cc2
-rw-r--r--www/chromium/files/patch-device_usb_usb__device__handle__impl.cc2
-rw-r--r--www/chromium/files/patch-device_usb_usb__device__handle__impl.h2
-rw-r--r--www/chromium/files/patch-device_usb_usb__device__impl.cc2
-rw-r--r--www/chromium/files/patch-device_usb_usb__error.cc2
-rw-r--r--www/chromium/files/patch-device_usb_usb__service__impl.cc16
-rw-r--r--www/chromium/files/patch-device_usb_usb__service__impl.h6
-rw-r--r--www/chromium/files/patch-extensions_browser_api_declarative__webrequest_webrequest__action.cc2
-rw-r--r--www/chromium/files/patch-extensions_browser_api_networking__private_networking__private__event__router__factory.cc2
-rw-r--r--www/chromium/files/patch-extensions_browser_api_serial_serial__api.cc2
-rw-r--r--www/chromium/files/patch-extensions_browser_api_web__request_form__data__parser.cc2
-rw-r--r--www/chromium/files/patch-extensions_common_image__util.cc2
-rw-r--r--www/chromium/files/patch-extensions_common_stack__frame.cc2
-rw-r--r--www/chromium/files/patch-gpu_BUILD.gn4
-rw-r--r--www/chromium/files/patch-gpu_command__buffer_service_program__manager.cc2
-rw-r--r--www/chromium/files/patch-gpu_config_BUILD.gn4
-rw-r--r--www/chromium/files/patch-gpu_config_gpu__control__list.cc6
-rw-r--r--www/chromium/files/patch-gpu_config_gpu__control__list__unittest.cc2
-rw-r--r--www/chromium/files/patch-gpu_config_gpu__info__collector.cc2
-rw-r--r--www/chromium/files/patch-gpu_config_gpu__test__config.cc2
-rw-r--r--www/chromium/files/patch-gpu_gles2__conform__support_BUILD.gn2
-rw-r--r--www/chromium/files/patch-gpu_gles2__conform__support_native_BUILD.gn2
-rw-r--r--www/chromium/files/patch-gpu_ipc_client_BUILD.gn2
-rw-r--r--www/chromium/files/patch-gpu_ipc_service_BUILD.gn4
-rw-r--r--www/chromium/files/patch-gpu_ipc_service_gpu__init.cc6
-rw-r--r--www/chromium/files/patch-gpu_tools_compositor__model__bench_BUILD.gn2
-rw-r--r--www/chromium/files/patch-gpu_vulkan_BUILD.gn2
-rw-r--r--www/chromium/files/patch-ipc_ipc__channel.h4
-rw-r--r--www/chromium/files/patch-ipc_ipc__message__utils.cc4
-rw-r--r--www/chromium/files/patch-ipc_ipc__message__utils.h2
-rw-r--r--www/chromium/files/patch-mash_package_mash__packaged__service.cc6
-rw-r--r--www/chromium/files/patch-media__audio__alsa__audio_manager_alsa.cc2
-rw-r--r--www/chromium/files/patch-media_audio_BUILD.gn6
-rw-r--r--www/chromium/files/patch-media_audio_audio__manager.cc12
-rw-r--r--www/chromium/files/patch-media_audio_audio__manager.h8
-rw-r--r--www/chromium/files/patch-media_base_BUILD.gn8
-rw-r--r--www/chromium/files/patch-media_base_audio__latency.cc2
-rw-r--r--www/chromium/files/patch-media_base_video__frame.cc2
-rw-r--r--www/chromium/files/patch-media_base_video__frame.h4
-rw-r--r--www/chromium/files/patch-media_capture_BUILD.gn8
-rw-r--r--www/chromium/files/patch-media_capture_video_fake__video__capture__device__factory.cc14
-rw-r--r--www/chromium/files/patch-media_capture_video_file__video__capture__device__factory.cc2
-rw-r--r--www/chromium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc2
-rw-r--r--www/chromium/files/patch-media_capture_video_linux_video__capture__device__linux.cc2
-rw-r--r--www/chromium/files/patch-media_capture_video_video__capture__device__client.cc4
-rw-r--r--www/chromium/files/patch-media_capture_video_video__capture__device__factory.cc6
-rw-r--r--www/chromium/files/patch-media_cast_BUILD.gn2
-rw-r--r--www/chromium/files/patch-media_cdm_ppapi_ppapi__cdm__adapter.gni2
-rw-r--r--www/chromium/files/patch-media_ffmpeg_ffmpeg__common.h2
-rw-r--r--www/chromium/files/patch-media_filters_ffmpeg__demuxer.cc4
-rw-r--r--www/chromium/files/patch-media_filters_vp9__parser.h2
-rw-r--r--www/chromium/files/patch-media_formats_common_offset__byte__queue.cc2
-rw-r--r--www/chromium/files/patch-media_formats_common_offset__byte__queue.h2
-rw-r--r--www/chromium/files/patch-media_formats_mp2t_es__parser__adts.cc2
-rw-r--r--www/chromium/files/patch-media_formats_mp2t_es__parser__mpeg1audio.cc2
-rw-r--r--www/chromium/files/patch-mojo_BUILD.gn2
-rw-r--r--www/chromium/files/patch-mojo_edk_test_BUILD.gn2
-rw-r--r--www/chromium/files/patch-native__client__sdk_src_BUILD.gn2
-rw-r--r--www/chromium/files/patch-net_BUILD.gn34
-rw-r--r--www/chromium/files/patch-net_base_address__tracker__linux.h2
-rw-r--r--www/chromium/files/patch-net_base_address__tracker__linux__unittest.cc2
-rw-r--r--www/chromium/files/patch-net_base_mime__util__unittest.cc14
-rw-r--r--www/chromium/files/patch-net_base_network__change__notifier.cc2
-rw-r--r--www/chromium/files/patch-net_base_network__interfaces__posix.cc2
-rw-r--r--www/chromium/files/patch-net_disk__cache_blockfile_disk__format.h2
-rw-r--r--www/chromium/files/patch-net_dns_address__sorter__posix.cc2
-rw-r--r--www/chromium/files/patch-net_dns_dns__config__service__posix__unittest.cc2
-rw-r--r--www/chromium/files/patch-net_dns_dns__reloader.cc2
-rw-r--r--www/chromium/files/patch-net_dns_dns__util.cc2
-rw-r--r--www/chromium/files/patch-net_dns_host__resolver__proc.cc2
-rw-r--r--www/chromium/files/patch-net_http_http__auth__gssapi__posix.cc2
-rw-r--r--www/chromium/files/patch-net_http_http__network__session.cc4
-rw-r--r--www/chromium/files/patch-net_proxy_proxy__config__service__linux.cc18
-rw-r--r--www/chromium/files/patch-net_proxy_proxy__service.cc2
-rw-r--r--www/chromium/files/patch-net_quic_platform_impl_quic__ip__address__impl.cc2
-rw-r--r--www/chromium/files/patch-net_socket_socks5__client__socket.cc2
-rw-r--r--www/chromium/files/patch-net_socket_udp__socket__posix.cc6
-rw-r--r--www/chromium/files/patch-net_tools_cert__verify__tool_verify__using__path__builder.cc6
-rw-r--r--www/chromium/files/patch-net_tools_get__server__time_get__server__time.cc2
-rw-r--r--www/chromium/files/patch-net_url__request_url__request__context__builder.cc2
-rw-r--r--www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc6
-rw-r--r--www/chromium/files/patch-ppapi_proxy_file__io__resource.cc2
-rw-r--r--www/chromium/files/patch-ppapi_shared__impl_private_net__address__private__impl.cc2
-rw-r--r--www/chromium/files/patch-ppapi_tests_extensions_BUILD.gn2
-rw-r--r--www/chromium/files/patch-printing_BUILD.gn6
-rw-r--r--www/chromium/files/patch-printing_cups__config__helper.py2
-rw-r--r--www/chromium/files/patch-remoting_host_BUILD.gn12
-rw-r--r--www/chromium/files/patch-sandbox_features.gni2
-rw-r--r--www/chromium/files/patch-sdch_BUILD.gn2
-rw-r--r--www/chromium/files/patch-services_catalog_public_cpp_manifest__parsing__util.cc21
-rw-r--r--www/chromium/files/patch-services_catalog_store.cc9
-rw-r--r--www/chromium/files/patch-services_catalog_store.h10
-rw-r--r--www/chromium/files/patch-services_device_time__zone__monitor_time__zone__monitor.cc (renamed from www/chromium/files/patch-device_time__zone__monitor_time__zone__monitor.cc)4
-rw-r--r--www/chromium/files/patch-services_device_time__zone__monitor_time__zone__monitor__linux.cc (renamed from www/chromium/files/patch-device_time__zone__monitor_time__zone__monitor__linux.cc)10
-rw-r--r--www/chromium/files/patch-services_service__manager_public_cpp_standalone__service_BUILD.gn2
-rw-r--r--www/chromium/files/patch-services_service__manager_public_cpp_standalone__service_standalone__service.cc2
-rw-r--r--www/chromium/files/patch-services_service__manager_runner_host_BUILD.gn2
-rw-r--r--www/chromium/files/patch-services_service__manager_standalone_context.cc4
-rw-r--r--www/chromium/files/patch-services_ui_BUILD.gn23
-rw-r--r--www/chromium/files/patch-services_ui_gpu_gpu__main.cc10
-rw-r--r--www/chromium/files/patch-services_ui_ime_BUILD.gn6
-rw-r--r--www/chromium/files/patch-skia_BUILD.gn24
-rw-r--r--www/chromium/files/patch-skia_ext_SkMemory__new__handler.cpp2
-rw-r--r--www/chromium/files/patch-storage_browser_quota_quota__settings.cc11
-rw-r--r--www/chromium/files/patch-testing_gtest_src_gtest.cc2
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_bindings_core_v8_V8ScriptRunner.cpp4
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_core_layout_BUILD.gn4
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontCache.cpp4
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontCache.h6
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontPlatformData.cpp2
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontPlatformData.h2
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_SimpleFontData.cpp18
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_skia_FontCacheSkia.cpp4
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_platform_heap_GCInfo.cpp2
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_platform_heap_StackFrameDepth.cpp2
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_web_PopupMenuImpl.cpp4
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_wtf_Assertions.cpp13
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_wtf_Atomics.h2
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_wtf_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_wtf_ByteSwap.h2
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_wtf_ContainerAnnotations.h2
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_wtf_StackUtil.cpp2
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_wtf_ThreadingPthreads.cpp2
-rw-r--r--www/chromium/files/patch-third__party_angle_BUILD.gn8
-rw-r--r--www/chromium/files/patch-third__party_angle_gni_angle.gni2
-rw-r--r--www/chromium/files/patch-third__party_angle_src_tests_BUILD.gn4
-rw-r--r--www/chromium/files/patch-third__party_boringssl_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_boringssl_src_crypto_ex__data.c2
-rw-r--r--www/chromium/files/patch-third__party_cacheinvalidation_src_google_cacheinvalidation_include_types.h2
-rw-r--r--www/chromium/files/patch-third__party_expat_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_ffmpeg_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_ffmpeg_ffmpeg__generated.gni18
-rw-r--r--www/chromium/files/patch-third__party_ffmpeg_libavutil_mem.c2
-rw-r--r--www/chromium/files/patch-third__party_fontconfig_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_freetype2_BUILD.gn11
-rw-r--r--www/chromium/files/patch-third__party_glslang_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_harfbuzz-ng_BUILD.gn4
-rw-r--r--www/chromium/files/patch-third__party_leveldatabase_env__chromium.cc2
-rw-r--r--www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_memory_singleton.h2
-rw-r--r--www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_synchronization_lock.h2
-rw-r--r--www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_thread__checker.h2
-rw-r--r--www/chromium/files/patch-third__party_libusb_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_libxml_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_libxslt_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_libyuv_include_libyuv_row.h2
-rw-r--r--www/chromium/files/patch-third__party_mesa_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_minigbm_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_node_node.py10
-rw-r--r--www/chromium/files/patch-third__party_opus_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_ots_include_opentype-sanitiser.h2
-rw-r--r--www/chromium/files/patch-third__party_pdfium_BUILD.gn6
-rw-r--r--www/chromium/files/patch-third__party_pdfium_core_fxcrt_fx__system.h2
-rw-r--r--www/chromium/files/patch-third__party_pdfium_fpdfsdk_javascript_JS__Value.cpp2
-rw-r--r--www/chromium/files/patch-third__party_pdfium_fpdfsdk_javascript_PublicMethods.cpp2
-rw-r--r--www/chromium/files/patch-third__party_pdfium_skia_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_pdfium_third__party_base_logging.h2
-rw-r--r--www/chromium/files/patch-third__party_skia_src_gpu_GrAutoLocaleSetter.h2
-rw-r--r--www/chromium/files/patch-third__party_sqlite_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_usrsctp_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_webrtc_BUILD.gn4
-rw-r--r--www/chromium/files/patch-third__party_webrtc_base_BUILD.gn6
-rw-r--r--www/chromium/files/patch-third__party_webrtc_base_httpcommon.cc4
-rw-r--r--www/chromium/files/patch-third__party_webrtc_base_ifaddrs__converter.h2
-rw-r--r--www/chromium/files/patch-third__party_webrtc_base_ipaddress.h2
-rw-r--r--www/chromium/files/patch-third__party_webrtc_base_network.cc8
-rw-r--r--www/chromium/files/patch-third__party_webrtc_base_network.h2
-rw-r--r--www/chromium/files/patch-third__party_webrtc_base_physicalsocketserver.cc10
-rw-r--r--www/chromium/files/patch-third__party_webrtc_base_platform__thread.cc10
-rw-r--r--www/chromium/files/patch-third__party_webrtc_base_stringutils.h2
-rw-r--r--www/chromium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_webrtc_modules_rtp__rtcp_source_forward__error__correction.cc2
-rw-r--r--www/chromium/files/patch-third__party_webrtc_modules_video__coding_BUILD.gn9
-rw-r--r--www/chromium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_webrtc_system__wrappers_source_atomic32__non__darwin__unix.cc2
-rw-r--r--www/chromium/files/patch-third__party_webrtc_voice__engine_voice__engine__defines.h11
-rw-r--r--www/chromium/files/patch-third__party_widevine_cdm_BUILD.gn6
-rw-r--r--www/chromium/files/patch-third__party_yasm_BUILD.gn2
-rw-r--r--www/chromium/files/patch-third__party_zlib_BUILD.gn2
-rw-r--r--www/chromium/files/patch-tools_battor__agent_BUILD.gn2
-rw-r--r--www/chromium/files/patch-tools_gn_args.cc4
-rw-r--r--www/chromium/files/patch-tools_gn_bootstrap_bootstrap.py6
-rw-r--r--www/chromium/files/patch-tools_perf_chrome__telemetry__build_BUILD.gn2
-rw-r--r--www/chromium/files/patch-tools_variations_fieldtrial__to__struct.py2
-rw-r--r--www/chromium/files/patch-ui_accessibility_platform_ax__platform__node.h2
-rw-r--r--www/chromium/files/patch-ui_app__list_app__list__constants.cc2
-rw-r--r--www/chromium/files/patch-ui_app__list_app__list__constants.h2
-rw-r--r--www/chromium/files/patch-ui_app__list_views_app__list__item__view.cc2
-rw-r--r--www/chromium/files/patch-ui_aura_BUILD.gn4
-rw-r--r--www/chromium/files/patch-ui_base_BUILD.gn14
-rw-r--r--www/chromium/files/patch-ui_base_dragdrop_os__exchange__data__provider__factory.cc2
-rw-r--r--www/chromium/files/patch-ui_base_ime_BUILD.gn2
-rw-r--r--www/chromium/files/patch-ui_base_ime_ime__engine__handler__interface.h2
-rw-r--r--www/chromium/files/patch-ui_base_ime_input__method__factory.cc2
-rw-r--r--www/chromium/files/patch-ui_base_ime_input__method__initializer.cc2
-rw-r--r--www/chromium/files/patch-ui_base_resource_resource__bundle.cc6
-rw-r--r--www/chromium/files/patch-ui_base_ui__features.gni2
-rw-r--r--www/chromium/files/patch-ui_base_webui_web__ui__util.cc2
-rw-r--r--www/chromium/files/patch-ui_compositor_BUILD.gn4
-rw-r--r--www/chromium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc2
-rw-r--r--www/chromium/files/patch-ui_events_event__switches.cc2
-rw-r--r--www/chromium/files/patch-ui_events_event__switches.h2
-rw-r--r--www/chromium/files/patch-ui_events_keycodes_dom_keycode__converter.cc2
-rw-r--r--www/chromium/files/patch-ui_gfx_BUILD.gn6
-rw-r--r--www/chromium/files/patch-ui_gfx_canvas__skia.cc4
-rw-r--r--www/chromium/files/patch-ui_gfx_font__fallback__linux.cc2
-rw-r--r--www/chromium/files/patch-ui_gfx_font__list.cc2
-rw-r--r--www/chromium/files/patch-ui_gfx_font__render__params.h2
-rw-r--r--www/chromium/files/patch-ui_gfx_render__text.cc4
-rw-r--r--www/chromium/files/patch-ui_gl_BUILD.gn4
-rw-r--r--www/chromium/files/patch-ui_gl_sync__control__vsync__provider.cc49
-rw-r--r--www/chromium/files/patch-ui_gl_sync__control__vsync__provider.h20
-rw-r--r--www/chromium/files/patch-ui_message__center_message__center__style.h4
-rw-r--r--www/chromium/files/patch-ui_message__center_views_message__center__button__bar.cc4
-rw-r--r--www/chromium/files/patch-ui_message__center_views_message__center__button__bar.h4
-rw-r--r--www/chromium/files/patch-ui_message__center_views_message__view__factory.cc2
-rw-r--r--www/chromium/files/patch-ui_message__center_views_toast__contents__view.cc4
-rw-r--r--www/chromium/files/patch-ui_resources_ui__resources.grd2
-rw-r--r--www/chromium/files/patch-ui_views_BUILD.gn6
-rw-r--r--www/chromium/files/patch-ui_views_accessibility_native__view__accessibility.h4
-rw-r--r--www/chromium/files/patch-ui_views_bubble_bubble__dialog__delegate.cc2
-rw-r--r--www/chromium/files/patch-ui_views_controls_label.cc8
-rw-r--r--www/chromium/files/patch-ui_views_controls_textfield_textfield.cc24
-rw-r--r--www/chromium/files/patch-ui_views_controls_webview_BUILD.gn2
-rw-r--r--www/chromium/files/patch-ui_views_corewm_tooltip__aura.cc2
-rw-r--r--www/chromium/files/patch-ui_views_examples_widget__example.cc2
-rw-r--r--www/chromium/files/patch-ui_views_mus_BUILD.gn4
-rw-r--r--www/chromium/files/patch-ui_views_mus_aura__init.cc2
-rw-r--r--www/chromium/files/patch-ui_views_mus_aura__init.h2
-rw-r--r--www/chromium/files/patch-ui_views_selection__controller.cc2
-rw-r--r--www/chromium/files/patch-ui_views_style_platform__style.cc2
-rw-r--r--www/chromium/files/patch-ui_views_views__delegate.cc2
-rw-r--r--www/chromium/files/patch-ui_views_views__delegate.h2
-rw-r--r--www/chromium/files/patch-ui_views_views__switches.cc2
-rw-r--r--www/chromium/files/patch-ui_views_window_custom__frame__view.cc4
-rw-r--r--www/chromium/files/patch-ui_views_window_dialog__delegate.cc2
-rw-r--r--www/chromium/files/patch-ui_webui_resources_js_cr.js2
-rw-r--r--www/chromium/files/patch-ui_webui_resources_js_icon.js2
-rw-r--r--www/chromium/files/patch-v8_BUILD.gn8
-rw-r--r--www/chromium/files/patch-v8_src_base_platform_platform-posix.cc2
-rw-r--r--www/chromium/files/patch-v8_src_globals.h2
-rw-r--r--www/chromium/pkg-plist25
-rw-r--r--www/firefox-esr/files/patch-bug135905131
-rw-r--r--www/firefox-esr/files/patch-bug135914257
-rw-r--r--www/firefox/Makefile2
-rw-r--r--www/firefox/files/patch-bug135905131
-rw-r--r--www/firefox/files/patch-bug135914257
-rw-r--r--www/libxul/files/patch-bug135914257
-rw-r--r--www/py-flexget/Makefile2
-rw-r--r--www/py-flexget/distinfo6
-rw-r--r--www/seamonkey/files/patch-bug135914257
576 files changed, 1888 insertions, 1413 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index 2c9c9b3..68246ac 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= chromium
-PORTVERSION= 57.0.2987.133
+PORTVERSION= 58.0.3029.81
CATEGORIES= www
MASTER_SITES= http://commondatastorage.googleapis.com/chromium-browser-official/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # default, but needed to get distinfo correct if TEST is on
@@ -20,6 +20,7 @@ BUILD_DEPENDS= gperf:devel/gperf \
ffmpeg>=3.2.2,1:multimedia/ffmpeg \
bash:shells/bash \
flock:sysutils/flock \
+ node:www/node \
${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \
${LOCALBASE}/share/usbids/usb.ids:misc/usbids \
${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 \
@@ -88,7 +89,8 @@ GN_ARGS+= is_clang=true \
toolkit_views=true \
use_allocator="none" \
use_aura=true \
- use_experimental_allocator_shim=true \
+ use_cups=true \
+ use_experimental_allocator_shim=false \
treat_warnings_as_errors=false \
use_sysroot=false \
use_system_libjpeg=true \
@@ -196,16 +198,10 @@ MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \
# TODO: move this big extra to small ones
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-clang
-.if ${OPSYS} == FreeBSD
-.if ${OSVERSION} < 1100000
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-10
-.endif
-
# Work around base r261801
-.if ${OSVERSION} < 1100508
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100508
GN_ARGS+= extra_cxxflags="-D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1"
.endif
-.endif
pre-everything::
@${ECHO_MSG}
@@ -217,9 +213,6 @@ pre-everything::
@${ECHO_MSG} "and a fair amount of free diskspace (~ 3.7GB)."
.endif
@${ECHO_MSG}
- @${ECHO_MSG} "Make sure you have Python build with the SEM option ON"
- @${ECHO_MSG} "(default in python27-2.7.8 since r361735)"
- @${ECHO_MSG}
pre-configure:
# We used to remove bundled libraries to be sure that chromium uses
@@ -238,6 +231,10 @@ do-configure:
cd ${WRKSRC} && ${SETENV} ./out/${BUILDTYPE}/gn \
gen --args='${GN_ARGS}' out/${BUILDTYPE}
+ # Setup nodejs dependency
+ @${MKDIR} ${WRKSRC}/third_party/node/linux/node-linux-x64/bin
+ ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/linux/node-linux-x64/bin/node
+
test regression-test: build
.for t in ${TEST_TARGETS}
cd ${WRKSRC}/out/${BUILDTYPE} && ${SETENV} LC_ALL=en_US.UTF-8 \
diff --git a/www/chromium/distinfo b/www/chromium/distinfo
index 2530768..269159a 100644
--- a/www/chromium/distinfo
+++ b/www/chromium/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1490878091
-SHA256 (chromium-57.0.2987.133.tar.xz) = 70011770a7e522c92826a3af48d3fd28a46bf8042897d072d20c748cbf828cf7
-SIZE (chromium-57.0.2987.133.tar.xz) = 525240460
-SHA256 (chromium-57.0.2987.133-testdata.tar.xz) = 16188e40b7dccbbce4f20dd0a2c5dafabc98c4fd55bbbc85d1458a736e2d8084
-SIZE (chromium-57.0.2987.133-testdata.tar.xz) = 124080256
+TIMESTAMP = 1492682402
+SHA256 (chromium-58.0.3029.81.tar.xz) = 5ab61b7025a5143fa1b21713479b316ec7a98e262e79e84f9c9a9656179217cb
+SIZE (chromium-58.0.3029.81.tar.xz) = 509252204
+SHA256 (chromium-58.0.3029.81-testdata.tar.xz) = 8fa8d18c5ccfa8cbb067c4d88a0b8ed0dfd52b5d784c2cf48b91d1cb3a2fb264
+SIZE (chromium-58.0.3029.81-testdata.tar.xz) = 124158512
diff --git a/www/chromium/files/extra-patch-10 b/www/chromium/files/extra-patch-10
deleted file mode 100644
index f0ea2ae..0000000
--- a/www/chromium/files/extra-patch-10
+++ /dev/null
@@ -1,11 +0,0 @@
---- third_party/skia/src/core/SkSmallAllocator.h.orig 2017-02-01 20:16:14.715097000 +0100
-+++ third_party/skia/src/core/SkSmallAllocator.h 2017-02-01 20:24:56.680605000 +0100
-@@ -20,7 +20,7 @@
- // abstract type. The complication with max_align_t is that it is defined differently for
- // different builds.
- namespace {
--#if defined(SK_BUILD_FOR_WIN32) || defined(SK_BUILD_FOR_MAC)
-+#if defined(SK_BUILD_FOR_WIN32) || defined(SK_BUILD_FOR_MAC) || defined(__FreeBSD__)
- // Use std::max_align_t for compiles that follow the standard.
- #include <cstddef>
- using SystemAlignment = std::max_align_t;
diff --git a/www/chromium/files/extra-patch-clang b/www/chromium/files/extra-patch-clang
index c5f7f8f..1d9997e 100644
--- a/www/chromium/files/extra-patch-clang
+++ b/www/chromium/files/extra-patch-clang
@@ -52,6 +52,17 @@
EXPECT_CALL(callback_, OnError(_))
.Times(2);
+--- third_party/libjingle_xmpp/task_runner/taskrunner.cc.orig 2017-04-19 19:06:52 UTC
++++ third_party/libjingle_xmpp/task_runner/taskrunner.cc
+@@ -95,7 +95,7 @@ void TaskRunner::InternalRunTasks(bool i
+ std::vector<Task *>::iterator it;
+ it = std::remove(tasks_.begin(),
+ tasks_.end(),
+- reinterpret_cast<Task *>(NULL));
++ static_cast<Task *>(NULL));
+
+ tasks_.erase(it, tasks_.end());
+
--- third_party/sfntly/src/cpp/src/sfntly/table/core/cmap_table.cc 2015-04-15 00:31:48.000000000 +0200
+++ third_party/sfntly/src/cpp/src/sfntly/table/core/cmap_table.cc 2015-04-18 22:05:41.000000000 +0200
@@ -439,7 +439,7 @@
@@ -99,13 +110,3 @@
CMapFormat::kFormat4, cmap_id) {
}
---- third_party/webrtc/base/taskrunner.cc.orig 2017-03-09 21:05:29.000000000 +0100
-+++ third_party/webrtc/base/taskrunner.cc 2017-03-10 13:19:54.203141000 +0100
-@@ -96,7 +96,7 @@
- std::vector<Task *>::iterator it;
- it = std::remove(tasks_.begin(),
- tasks_.end(),
-- reinterpret_cast<Task *>(NULL));
-+ static_cast<Task *>(NULL));
-
- tasks_.erase(it, tasks_.end());
diff --git a/www/chromium/files/patch-BUILD.gn b/www/chromium/files/patch-BUILD.gn
index f16e1e8..7ca8be9 100644
--- a/www/chromium/files/patch-BUILD.gn
+++ b/www/chromium/files/patch-BUILD.gn
@@ -1,6 +1,6 @@
---- BUILD.gn.orig 2017-03-09 20:04:26 UTC
+--- BUILD.gn.orig 2017-04-19 19:06:27 UTC
+++ BUILD.gn
-@@ -221,7 +221,7 @@ group("both_gn_and_gyp") {
+@@ -220,7 +220,7 @@ group("both_gn_and_gyp") {
]
}
@@ -9,7 +9,7 @@
deps += [
"//chrome",
"//chrome/test:browser_tests",
-@@ -281,7 +281,7 @@ group("both_gn_and_gyp") {
+@@ -277,7 +277,7 @@ group("both_gn_and_gyp") {
]
}
@@ -18,7 +18,7 @@
# TODO(GYP): Figure out which of these should actually build on iOS,
# and whether there should be other targets that are iOS-only and missing.
deps += [
-@@ -325,7 +325,7 @@ group("both_gn_and_gyp") {
+@@ -322,7 +322,7 @@ group("both_gn_and_gyp") {
"//ui/touch_selection:ui_touch_selection_unittests",
"//url/ipc:url_ipc_unittests",
]
@@ -27,7 +27,7 @@
deps += [ "//ios:all" ]
}
-@@ -495,7 +495,7 @@ group("both_gn_and_gyp") {
+@@ -482,7 +482,7 @@ group("both_gn_and_gyp") {
]
}
@@ -36,7 +36,7 @@
# The following are definitely linux-only.
deps += [
"//chrome:manpage",
-@@ -518,9 +518,16 @@ group("both_gn_and_gyp") {
+@@ -505,9 +505,16 @@ group("both_gn_and_gyp") {
# TODO(dpranke): add the linux_dump_symbols flag?
deps += [ "//chrome:linux_symbols" ]
}
@@ -54,7 +54,7 @@
deps += [
"//base:base_i18n_perftests",
"//base:base_perftests",
-@@ -592,7 +599,7 @@ group("both_gn_and_gyp") {
+@@ -578,7 +585,7 @@ group("both_gn_and_gyp") {
if (enable_nacl) {
deps += [ "//components/nacl/loader:nacl_loader_unittests" ]
@@ -63,7 +63,7 @@
# TODO(dpranke): Figure out what platforms should actually have this.
deps += [ "//components/nacl/loader:nacl_helper" ]
-@@ -700,7 +707,7 @@ group("both_gn_and_gyp") {
+@@ -684,7 +691,7 @@ group("both_gn_and_gyp") {
deps +=
[ "//chrome/installer/mini_installer:next_version_mini_installer" ]
}
@@ -72,7 +72,7 @@
deps += [ "//breakpad:symupload($host_toolchain)" ]
}
-@@ -745,7 +752,7 @@ group("gn_only") {
+@@ -728,7 +735,7 @@ group("gn_only") {
deps += [ "//components/proximity_auth:proximity_auth_unittests" ]
}
@@ -81,7 +81,7 @@
deps += [
"//mash:all",
"//media/mojo/services:media_service_unittests",
-@@ -771,7 +778,7 @@ group("gn_only") {
+@@ -754,7 +761,7 @@ group("gn_only") {
}
}
@@ -90,7 +90,7 @@
# TODO(GYP): Figure out if any of these should be in gn_all
# and figure out how cross-platform they are
deps += [
-@@ -826,7 +833,7 @@ group("gn_only") {
+@@ -794,7 +801,7 @@ group("gn_only") {
}
if (target_cpu == "x86" || target_cpu == "x64") {
@@ -99,7 +99,7 @@
deps += [ "//chrome/test:load_library_perf_tests" ]
}
deps += [
-@@ -834,7 +841,7 @@ group("gn_only") {
+@@ -802,7 +809,7 @@ group("gn_only") {
"//third_party/libjpeg_turbo:simd_asm",
]
}
@@ -108,7 +108,7 @@
deps += [ "//v8:v8_shell" ]
}
}
-@@ -844,7 +851,7 @@ group("gn_only") {
+@@ -812,7 +819,7 @@ group("gn_only") {
}
if ((is_linux && !is_chromeos && !is_chromecast) || (is_win && use_drfuzz) ||
@@ -117,7 +117,7 @@
deps += [
"//testing/libfuzzer/fuzzers",
"//testing/libfuzzer/tests:libfuzzer_tests",
-@@ -876,7 +883,7 @@ group("gn_only") {
+@@ -844,7 +851,7 @@ group("gn_only") {
group("gn_mojo_targets") {
testonly = true
@@ -126,7 +126,7 @@
# TODO(GYP): Figure out if any of these should be in gn_all
# and figure out how cross-platform they are
deps = [
-@@ -902,7 +909,7 @@ group("gn_visibility") {
+@@ -870,7 +877,7 @@ group("gn_visibility") {
}
}
@@ -135,7 +135,7 @@
# This group includes all of the targets needed to build and test Blink,
# including running the layout tests (see below).
group("blink_tests") {
-@@ -948,7 +955,7 @@ if (!is_ios) {
+@@ -935,7 +942,7 @@ if (!is_ios) {
data_deps += [ "//content/shell:content_shell_crash_service" ]
}
@@ -144,7 +144,7 @@
data_deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
}
-@@ -956,7 +963,7 @@ if (!is_ios) {
+@@ -943,7 +950,7 @@ if (!is_ios) {
data_deps += [ "//breakpad:dump_syms($host_toolchain)" ]
}
@@ -153,7 +153,7 @@
data_deps += [ "//breakpad:dump_syms($host_toolchain)" ]
}
-@@ -978,7 +985,7 @@ group("chromium_swarm_tests") {
+@@ -979,7 +986,7 @@ group("chromium_swarm_tests") {
group("chromium_builder_perf") {
testonly = true
@@ -162,7 +162,7 @@
data_deps = [
"//cc:cc_perftests",
"//chrome/test:load_library_perf_tests",
-@@ -1008,7 +1015,7 @@ group("chromium_builder_perf") {
+@@ -1009,7 +1016,7 @@ group("chromium_builder_perf") {
"//chrome/installer/mini_installer:mini_installer",
"//chrome/test:angle_perftests",
]
diff --git a/www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc b/www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc
index 451590e..debd179 100644
--- a/www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc
+++ b/www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc
@@ -1,4 +1,4 @@
---- apps/ui/views/app_window_frame_view.cc.orig 2017-02-02 02:02:46 UTC
+--- apps/ui/views/app_window_frame_view.cc.orig 2017-04-19 19:06:27 UTC
+++ apps/ui/views/app_window_frame_view.cc
@@ -132,7 +132,7 @@ gfx::Rect AppWindowFrameView::GetBoundsF
gfx::Rect AppWindowFrameView::GetWindowBoundsForClientBounds(
diff --git a/www/chromium/files/patch-ash_display_mirror__window__controller.cc b/www/chromium/files/patch-ash_display_mirror__window__controller.cc
index 26559e1..b70a8c5 100644
--- a/www/chromium/files/patch-ash_display_mirror__window__controller.cc
+++ b/www/chromium/files/patch-ash_display_mirror__window__controller.cc
@@ -1,6 +1,6 @@
---- ash/display/mirror_window_controller.cc.orig 2017-01-26 00:49:06 UTC
+--- ash/display/mirror_window_controller.cc.orig 2017-04-19 19:06:27 UTC
+++ ash/display/mirror_window_controller.cc
-@@ -250,7 +250,11 @@ void MirrorWindowController::UpdateWindo
+@@ -251,7 +251,11 @@ void MirrorWindowController::UpdateWindo
return info.id() == iter->first;
}) == display_info_list.end()) {
CloseAndDeleteHost(iter->second, true);
diff --git a/www/chromium/files/patch-base_BUILD.gn b/www/chromium/files/patch-base_BUILD.gn
index eedcb50..58fb5db 100644
--- a/www/chromium/files/patch-base_BUILD.gn
+++ b/www/chromium/files/patch-base_BUILD.gn
@@ -1,7 +1,17 @@
---- base/BUILD.gn.orig 2017-03-09 20:04:26 UTC
+--- base/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ base/BUILD.gn
-@@ -1116,6 +1116,35 @@ component("base") {
- public_deps += [ "//base/allocator:unified_allocator_shim" ]
+@@ -1156,6 +1156,9 @@ component("base") {
+ deps += [ "//base/allocator:tcmalloc" ]
+ } else if (is_linux && use_allocator == "none") {
+ sources += [ "allocator/allocator_shim_default_dispatch_to_glibc.cc" ]
++ } else if (is_bsd && use_allocator == "none") {
++ # TODO move the code to "allocator_shim_default_dispatch_to_glibc.cc"
++ sources += [ "allocator/allocator_shim_default_dispatch_to_glibc.cc" ]
+ } else if (is_android && use_allocator == "none") {
+ sources += [
+ "allocator/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
+@@ -1171,6 +1174,34 @@ component("base") {
+ }
}
+ if (is_bsd) {
@@ -15,11 +25,10 @@
+ "sys_info_linux.cc",
+ "trace_event/malloc_dump_provider.cc",
+ "trace_event/malloc_dump_provider.h",
-+ "debug/proc_maps_linux.cc",
-+ "debug/proc_maps_linux.h",
+ ]
+ sources += [
+ "files/file_path_watcher_stub.cc",
++ "process/memory_stubs.cc",
+ "process/process_handle_freebsd.cc",
+ "process/process_iterator_freebsd.cc",
+ "process/process_metrics_freebsd.cc",
@@ -36,7 +45,7 @@
# Allow more direct string conversions on platforms with native utf8
# strings
if (is_mac || is_ios || is_chromeos || is_chromecast) {
-@@ -1416,7 +1445,7 @@ component("base") {
+@@ -1467,7 +1498,7 @@ component("base") {
}
# Linux.
@@ -45,7 +54,7 @@
if (is_asan || is_lsan || is_msan || is_tsan) {
# For llvm-sanitizer.
data += [ "//third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6" ]
-@@ -1441,7 +1470,7 @@ component("base") {
+@@ -1492,7 +1523,7 @@ component("base") {
"//base/third_party/xdg_user_dirs",
]
} else {
@@ -54,7 +63,7 @@
sources -= [
"nix/mime_util_xdg.cc",
"nix/mime_util_xdg.h",
-@@ -1457,6 +1486,13 @@ component("base") {
+@@ -1508,6 +1539,13 @@ component("base") {
}
}
@@ -68,7 +77,7 @@
# iOS
if (is_ios) {
set_sources_assignment_filter([])
-@@ -2245,6 +2281,12 @@ test("base_unittests") {
+@@ -2309,6 +2347,12 @@ test("base_unittests") {
set_sources_assignment_filter(sources_assignment_filter)
}
diff --git a/www/chromium/files/patch-base__trace_event__process_memory_dump.h b/www/chromium/files/patch-base__trace_event__process_memory_dump.h
index 1f65c35..b92550a 100644
--- a/www/chromium/files/patch-base__trace_event__process_memory_dump.h
+++ b/www/chromium/files/patch-base__trace_event__process_memory_dump.h
@@ -1,4 +1,4 @@
---- base/trace_event/process_memory_dump.h.orig 2017-01-26 00:49:07 UTC
+--- base/trace_event/process_memory_dump.h.orig 2017-04-19 19:06:28 UTC
+++ base/trace_event/process_memory_dump.h
@@ -24,7 +24,7 @@
diff --git a/www/chromium/files/patch-base_allocator_BUILD.gn b/www/chromium/files/patch-base_allocator_BUILD.gn
deleted file mode 100644
index 316bc3b..0000000
--- a/www/chromium/files/patch-base_allocator_BUILD.gn
+++ /dev/null
@@ -1,12 +0,0 @@
---- base/allocator/BUILD.gn.orig 2017-01-26 00:49:07 UTC
-+++ base/allocator/BUILD.gn
-@@ -338,6 +338,9 @@ if (use_experimental_allocator_shim) {
- ]
- } else if (is_linux && use_allocator == "none") {
- sources += [ "allocator_shim_default_dispatch_to_glibc.cc" ]
-+ } else if (is_bsd && use_allocator == "none") {
-+ # TODO move the code to allocator_shim_default_dispatch_to_libc.cc"
-+ sources += [ "allocator_shim_default_dispatch_to_glibc.cc" ]
- } else if (is_android && use_allocator == "none") {
- sources += [
- "allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
diff --git a/www/chromium/files/patch-base_allocator_allocator__shim.cc b/www/chromium/files/patch-base_allocator_allocator__shim.cc
index 33cf887..511d90c 100644
--- a/www/chromium/files/patch-base_allocator_allocator__shim.cc
+++ b/www/chromium/files/patch-base_allocator_allocator__shim.cc
@@ -1,6 +1,6 @@
---- base/allocator/allocator_shim.cc.orig 2017-02-02 02:02:47 UTC
+--- base/allocator/allocator_shim.cc.orig 2017-04-19 19:06:28 UTC
+++ base/allocator/allocator_shim.cc
-@@ -89,7 +89,7 @@ inline const allocator::AllocatorDispatc
+@@ -81,7 +81,7 @@ inline const allocator::AllocatorDispatc
// Unfortunately due to that bug NoBarrier_Load() is mistakenly fully
// barriered on Linux+Clang, and that causes visible perf regressons.
return reinterpret_cast<const allocator::AllocatorDispatch*>(
diff --git a/www/chromium/files/patch-base_allocator_allocator__shim__default__dispatch__to__glibc.cc b/www/chromium/files/patch-base_allocator_allocator__shim__default__dispatch__to__glibc.cc
index ea29f59..3c57e65 100644
--- a/www/chromium/files/patch-base_allocator_allocator__shim__default__dispatch__to__glibc.cc
+++ b/www/chromium/files/patch-base_allocator_allocator__shim__default__dispatch__to__glibc.cc
@@ -1,4 +1,4 @@
---- base/allocator/allocator_shim_default_dispatch_to_glibc.cc.orig 2017-01-26 00:49:07 UTC
+--- base/allocator/allocator_shim_default_dispatch_to_glibc.cc.orig 2017-04-19 19:06:28 UTC
+++ base/allocator/allocator_shim_default_dispatch_to_glibc.cc
@@ -3,19 +3,28 @@
// found in the LICENSE file.
@@ -37,32 +37,41 @@
} // extern "C"
namespace {
-@@ -23,23 +32,23 @@ namespace {
+@@ -23,32 +32,32 @@ namespace {
using base::allocator::AllocatorDispatch;
- void* GlibcMalloc(const AllocatorDispatch*, size_t size) {
+ void* GlibcMalloc(const AllocatorDispatch*, size_t size, void* context) {
- return __libc_malloc(size);
+ return __malloc(size);
}
- void* GlibcCalloc(const AllocatorDispatch*, size_t n, size_t size) {
+ void* GlibcCalloc(const AllocatorDispatch*,
+ size_t n,
+ size_t size,
+ void* context) {
- return __libc_calloc(n, size);
+ return __calloc(n, size);
}
- void* GlibcRealloc(const AllocatorDispatch*, void* address, size_t size) {
+ void* GlibcRealloc(const AllocatorDispatch*,
+ void* address,
+ size_t size,
+ void* context) {
- return __libc_realloc(address, size);
+ return __realloc(address, size);
}
- void* GlibcMemalign(const AllocatorDispatch*, size_t alignment, size_t size) {
+ void* GlibcMemalign(const AllocatorDispatch*,
+ size_t alignment,
+ size_t size,
+ void* context) {
- return __libc_memalign(alignment, size);
+ return __memalign(alignment, size);
}
- void GlibcFree(const AllocatorDispatch*, void* address) {
+ void GlibcFree(const AllocatorDispatch*, void* address, void* context) {
- __libc_free(address);
+ __free(address);
}
- size_t GlibcGetSizeEstimate(const AllocatorDispatch*, void* address) {
+ size_t GlibcGetSizeEstimate(const AllocatorDispatch*,
diff --git a/www/chromium/files/patch-base_allocator_allocator__shim__override__libc__symbols.h b/www/chromium/files/patch-base_allocator_allocator__shim__override__libc__symbols.h
index 15c93d8..ee8a836 100644
--- a/www/chromium/files/patch-base_allocator_allocator__shim__override__libc__symbols.h
+++ b/www/chromium/files/patch-base_allocator_allocator__shim__override__libc__symbols.h
@@ -1,4 +1,4 @@
---- base/allocator/allocator_shim_override_libc_symbols.h.orig 2017-01-26 00:49:07 UTC
+--- base/allocator/allocator_shim_override_libc_symbols.h.orig 2017-04-19 19:06:28 UTC
+++ base/allocator/allocator_shim_override_libc_symbols.h
@@ -10,7 +10,7 @@
#endif
diff --git a/www/chromium/files/patch-base_allocator_allocator__shim__unittest.cc b/www/chromium/files/patch-base_allocator_allocator__shim__unittest.cc
index d5e9bc70..a27e4d2 100644
--- a/www/chromium/files/patch-base_allocator_allocator__shim__unittest.cc
+++ b/www/chromium/files/patch-base_allocator_allocator__shim__unittest.cc
@@ -1,61 +1,36 @@
---- base/allocator/allocator_shim_unittest.cc.orig 2017-03-09 20:04:26 UTC
+--- base/allocator/allocator_shim_unittest.cc.orig 2017-04-19 19:06:28 UTC
+++ base/allocator/allocator_shim_unittest.cc
-@@ -4,7 +4,6 @@
-
- #include "base/allocator/allocator_shim.h"
-
--#include <malloc.h>
- #include <stdlib.h>
- #include <string.h>
-
-@@ -196,11 +195,13 @@ TEST_F(AllocatorShimTest, InterceptLibcS
- ASSERT_GE(zero_allocs_intercepted_by_size[2 * 23], 1u);
+@@ -289,7 +289,7 @@ TEST_F(AllocatorShimTest, InterceptLibcS
+ ASSERT_GE(aligned_allocs_intercepted_by_size[61], 1u);
+ #endif // !OS_WIN
- #if !defined(OS_WIN)
-+#if !defined(OS_BSD)
+-#if !defined(OS_WIN) && !defined(OS_MACOSX)
++#if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_BSD)
void* memalign_ptr = memalign(128, 53);
ASSERT_NE(nullptr, memalign_ptr);
ASSERT_EQ(0u, reinterpret_cast<uintptr_t>(memalign_ptr) % 128);
- ASSERT_GE(aligned_allocs_intercepted_by_alignment[128], 1u);
- ASSERT_GE(aligned_allocs_intercepted_by_size[53], 1u);
-+#endif
-
- void* posix_memalign_ptr = nullptr;
- int res = posix_memalign(&posix_memalign_ptr, 256, 59);
-@@ -217,12 +218,14 @@ TEST_F(AllocatorShimTest, InterceptLibcS
- ASSERT_GE(aligned_allocs_intercepted_by_alignment[kPageSize], 1u);
- ASSERT_GE(aligned_allocs_intercepted_by_size[61], 1u);
-
-+#if !defined(OS_BSD)
- void* pvalloc_ptr = pvalloc(67);
- ASSERT_NE(nullptr, pvalloc_ptr);
- ASSERT_EQ(0u, reinterpret_cast<uintptr_t>(pvalloc_ptr) % kPageSize);
+@@ -302,7 +302,7 @@ TEST_F(AllocatorShimTest, InterceptLibcS
ASSERT_GE(aligned_allocs_intercepted_by_alignment[kPageSize], 1u);
// pvalloc rounds the size up to the next page.
ASSERT_GE(aligned_allocs_intercepted_by_size[kPageSize], 1u);
-+#endif
- #endif // OS_WIN
+-#endif // !OS_WIN && !OS_MACOSX
++#endif // !OS_WIN && !OS_MACOSX && !OS_BSD
- char* realloc_ptr = static_cast<char*>(realloc(nullptr, 71));
-@@ -243,8 +246,10 @@ TEST_F(AllocatorShimTest, InterceptLibcS
+ char* realloc_ptr = static_cast<char*>(malloc(10));
+ strcpy(realloc_ptr, "foobar");
+@@ -318,13 +318,13 @@ TEST_F(AllocatorShimTest, InterceptLibcS
+ free(zero_alloc_ptr);
ASSERT_GE(frees_intercepted_by_addr[Hash(zero_alloc_ptr)], 1u);
- #if !defined(OS_WIN)
-+#if !defined(OS_BSD)
+-#if !defined(OS_WIN) && !defined(OS_MACOSX)
++#if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_BSD)
free(memalign_ptr);
ASSERT_GE(frees_intercepted_by_addr[Hash(memalign_ptr)], 1u);
-+#endif
- free(posix_memalign_ptr);
- ASSERT_GE(frees_intercepted_by_addr[Hash(posix_memalign_ptr)], 1u);
-@@ -252,8 +257,10 @@ TEST_F(AllocatorShimTest, InterceptLibcS
- free(valloc_ptr);
- ASSERT_GE(frees_intercepted_by_addr[Hash(valloc_ptr)], 1u);
-
-+#if !defined(OS_BSD)
free(pvalloc_ptr);
ASSERT_GE(frees_intercepted_by_addr[Hash(pvalloc_ptr)], 1u);
-+#endif
- #endif // OS_WIN
+-#endif // !OS_WIN && !OS_MACOSX
++#endif // !OS_WIN && !OS_MACOSX && !OS_BSD
- free(realloc_ptr);
+ #if !defined(OS_WIN)
+ free(posix_memalign_ptr);
diff --git a/www/chromium/files/patch-base_debug_proc__maps__linux.cc b/www/chromium/files/patch-base_debug_proc__maps__linux.cc
index cdbf70a..9eded9c 100644
--- a/www/chromium/files/patch-base_debug_proc__maps__linux.cc
+++ b/www/chromium/files/patch-base_debug_proc__maps__linux.cc
@@ -1,4 +1,4 @@
---- base/debug/proc_maps_linux.cc.orig 2017-01-26 00:49:07 UTC
+--- base/debug/proc_maps_linux.cc.orig 2017-04-19 19:06:28 UTC
+++ base/debug/proc_maps_linux.cc
@@ -12,7 +12,7 @@
#include "base/strings/string_split.h"
diff --git a/www/chromium/files/patch-base_debug_stack__trace__posix.cc b/www/chromium/files/patch-base_debug_stack__trace__posix.cc
index 7e2f27d..6b2420b 100644
--- a/www/chromium/files/patch-base_debug_stack__trace__posix.cc
+++ b/www/chromium/files/patch-base_debug_stack__trace__posix.cc
@@ -1,6 +1,6 @@
---- base/debug/stack_trace_posix.cc.orig 2017-03-09 20:04:26 UTC
+--- base/debug/stack_trace_posix.cc.orig 2017-04-19 19:06:28 UTC
+++ base/debug/stack_trace_posix.cc
-@@ -33,7 +33,7 @@
+@@ -34,7 +34,7 @@
#include <AvailabilityMacros.h>
#endif
@@ -9,7 +9,7 @@
#include "base/debug/proc_maps_linux.h"
#endif
-@@ -574,6 +574,10 @@ class SandboxSymbolizeHelper {
+@@ -575,6 +575,10 @@ class SandboxSymbolizeHelper {
// for the modules that are loaded in the current process.
// Returns true on success.
bool CacheMemoryRegions() {
@@ -20,7 +20,7 @@
// Reads /proc/self/maps.
std::string contents;
if (!ReadProcMaps(&contents)) {
-@@ -589,6 +593,7 @@ class SandboxSymbolizeHelper {
+@@ -590,6 +594,7 @@ class SandboxSymbolizeHelper {
is_initialized_ = true;
return true;
diff --git a/www/chromium/files/patch-base_debug_thread__heap__usage__tracker.cc b/www/chromium/files/patch-base_debug_thread__heap__usage__tracker.cc
index 3678de1..3c59be9 100644
--- a/www/chromium/files/patch-base_debug_thread__heap__usage__tracker.cc
+++ b/www/chromium/files/patch-base_debug_thread__heap__usage__tracker.cc
@@ -1,6 +1,6 @@
---- base/debug/thread_heap_usage_tracker.cc.orig 2017-01-26 00:49:07 UTC
+--- base/debug/thread_heap_usage_tracker.cc.orig 2017-04-19 19:06:28 UTC
+++ base/debug/thread_heap_usage_tracker.cc
-@@ -14,11 +14,13 @@
+@@ -16,11 +16,13 @@
#include "base/threading/thread_local_storage.h"
#include "build/build_config.h"
diff --git a/www/chromium/files/patch-base_files_file__path__unittest.cc b/www/chromium/files/patch-base_files_file__path__unittest.cc
index 61892b2..167644a 100644
--- a/www/chromium/files/patch-base_files_file__path__unittest.cc
+++ b/www/chromium/files/patch-base_files_file__path__unittest.cc
@@ -1,4 +1,4 @@
---- base/files/file_path_unittest.cc.orig 2017-01-26 00:49:07 UTC
+--- base/files/file_path_unittest.cc.orig 2017-04-19 19:06:28 UTC
+++ base/files/file_path_unittest.cc
@@ -1133,7 +1133,7 @@ TEST_F(FilePathTest, FromUTF8Unsafe_And_
"\xEF\xBC\xA1\xEF\xBC\xA2\xEF\xBC\xA3.txt" },
diff --git a/www/chromium/files/patch-base_files_file__path__watcher__kqueue.h b/www/chromium/files/patch-base_files_file__path__watcher__kqueue.h
index d8f64ce..e8e9425 100644
--- a/www/chromium/files/patch-base_files_file__path__watcher__kqueue.h
+++ b/www/chromium/files/patch-base_files_file__path__watcher__kqueue.h
@@ -1,4 +1,4 @@
---- base/files/file_path_watcher_kqueue.h.orig 2017-01-26 00:49:07 UTC
+--- base/files/file_path_watcher_kqueue.h.orig 2017-04-19 19:06:28 UTC
+++ base/files/file_path_watcher_kqueue.h
@@ -5,6 +5,10 @@
#ifndef BASE_FILES_FILE_PATH_WATCHER_KQUEUE_H_
diff --git a/www/chromium/files/patch-base_files_file__util.h b/www/chromium/files/patch-base_files_file__util.h
index d6ce76c..9600826 100644
--- a/www/chromium/files/patch-base_files_file__util.h
+++ b/www/chromium/files/patch-base_files_file__util.h
@@ -1,6 +1,6 @@
---- base/files/file_util.h.orig 2017-01-26 00:49:07 UTC
+--- base/files/file_util.h.orig 2017-04-19 19:06:28 UTC
+++ base/files/file_util.h
-@@ -404,7 +404,7 @@ BASE_EXPORT bool VerifyPathControlledByA
+@@ -406,7 +406,7 @@ BASE_EXPORT bool VerifyPathControlledByA
// the directory |path|, in the number of FilePath::CharType, or -1 on failure.
BASE_EXPORT int GetMaximumPathComponentLength(const base::FilePath& path);
diff --git a/www/chromium/files/patch-base_linux__util.cc b/www/chromium/files/patch-base_linux__util.cc
index 50717f7..1d8fc3e 100644
--- a/www/chromium/files/patch-base_linux__util.cc
+++ b/www/chromium/files/patch-base_linux__util.cc
@@ -1,4 +1,4 @@
---- base/linux_util.cc.orig 2017-01-26 00:49:07 UTC
+--- base/linux_util.cc.orig 2017-04-19 19:06:28 UTC
+++ base/linux_util.cc
@@ -110,12 +110,14 @@ char g_linux_distro[kDistroSize] =
"CrOS";
diff --git a/www/chromium/files/patch-base_native__library__posix.cc b/www/chromium/files/patch-base_native__library__posix.cc
index ef6cb339..b1db681 100644
--- a/www/chromium/files/patch-base_native__library__posix.cc
+++ b/www/chromium/files/patch-base_native__library__posix.cc
@@ -1,4 +1,4 @@
---- base/native_library_posix.cc.orig 2017-01-26 00:49:07 UTC
+--- base/native_library_posix.cc.orig 2017-04-19 19:06:28 UTC
+++ base/native_library_posix.cc
@@ -35,7 +35,7 @@ NativeLibrary LoadNativeLibraryWithOptio
// further investigation, as it might vary across versions. Crash here to
diff --git a/www/chromium/files/patch-base_posix_unix__domain__socket__linux.cc b/www/chromium/files/patch-base_posix_unix__domain__socket__linux.cc
index 13b9d6e..997b59b 100644
--- a/www/chromium/files/patch-base_posix_unix__domain__socket__linux.cc
+++ b/www/chromium/files/patch-base_posix_unix__domain__socket__linux.cc
@@ -1,4 +1,4 @@
---- base/posix/unix_domain_socket_linux.cc.orig 2017-01-26 00:49:07 UTC
+--- base/posix/unix_domain_socket_linux.cc.orig 2017-04-19 19:06:28 UTC
+++ base/posix/unix_domain_socket_linux.cc
@@ -23,6 +23,15 @@
diff --git a/www/chromium/files/patch-base_posix_unix__domain__socket__linux__unittest.cc b/www/chromium/files/patch-base_posix_unix__domain__socket__linux__unittest.cc
index 63cebea..388ab54 100644
--- a/www/chromium/files/patch-base_posix_unix__domain__socket__linux__unittest.cc
+++ b/www/chromium/files/patch-base_posix_unix__domain__socket__linux__unittest.cc
@@ -1,4 +1,4 @@
---- base/posix/unix_domain_socket_linux_unittest.cc.orig 2017-01-26 00:49:07 UTC
+--- base/posix/unix_domain_socket_linux_unittest.cc.orig 2017-04-19 19:06:28 UTC
+++ base/posix/unix_domain_socket_linux_unittest.cc
@@ -2,10 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
diff --git a/www/chromium/files/patch-base_process_internal__linux.h b/www/chromium/files/patch-base_process_internal__linux.h
index 933476b..eabb22e 100644
--- a/www/chromium/files/patch-base_process_internal__linux.h
+++ b/www/chromium/files/patch-base_process_internal__linux.h
@@ -1,4 +1,4 @@
---- base/process/internal_linux.h.orig 2017-01-26 00:49:07 UTC
+--- base/process/internal_linux.h.orig 2017-04-19 19:06:28 UTC
+++ base/process/internal_linux.h
@@ -14,6 +14,8 @@
diff --git a/www/chromium/files/patch-base_process_launch.cc b/www/chromium/files/patch-base_process_launch.cc
index 074b23e..2dca0a6 100644
--- a/www/chromium/files/patch-base_process_launch.cc
+++ b/www/chromium/files/patch-base_process_launch.cc
@@ -1,4 +1,4 @@
---- base/process/launch.cc.orig 2017-01-26 00:49:07 UTC
+--- base/process/launch.cc.orig 2017-04-19 19:06:28 UTC
+++ base/process/launch.cc
@@ -15,7 +15,7 @@ LaunchOptions::~LaunchOptions() = defaul
diff --git a/www/chromium/files/patch-base_process_launch.h b/www/chromium/files/patch-base_process_launch.h
index 3f59591..5489c61 100644
--- a/www/chromium/files/patch-base_process_launch.h
+++ b/www/chromium/files/patch-base_process_launch.h
@@ -1,4 +1,4 @@
---- base/process/launch.h.orig 2017-01-26 00:49:07 UTC
+--- base/process/launch.h.orig 2017-04-19 19:06:28 UTC
+++ base/process/launch.h
@@ -138,7 +138,7 @@ struct BASE_EXPORT LaunchOptions {
// will be the same as its pid.
diff --git a/www/chromium/files/patch-base_process_launch__posix.cc b/www/chromium/files/patch-base_process_launch__posix.cc
index 87cf64b..7d93979 100644
--- a/www/chromium/files/patch-base_process_launch__posix.cc
+++ b/www/chromium/files/patch-base_process_launch__posix.cc
@@ -1,4 +1,4 @@
---- base/process/launch_posix.cc.orig 2017-01-26 00:49:07 UTC
+--- base/process/launch_posix.cc.orig 2017-04-19 19:06:28 UTC
+++ base/process/launch_posix.cc
@@ -64,6 +64,7 @@
#include "base/feature_list.h"
diff --git a/www/chromium/files/patch-base_process_memory.cc b/www/chromium/files/patch-base_process_memory.cc
new file mode 100644
index 0000000..bb441fd
--- /dev/null
+++ b/www/chromium/files/patch-base_process_memory.cc
@@ -0,0 +1,11 @@
+--- base/process/memory.cc.orig 2017-04-19 19:06:28 UTC
++++ base/process/memory.cc
+@@ -31,7 +31,7 @@ void TerminateBecauseOutOfMemory(size_t
+ #endif
+
+ // Defined in memory_mac.mm for Mac.
+-#if !defined(OS_MACOSX)
++#if !defined(OS_MACOSX) && !defined(OS_BSD)
+
+ bool UncheckedCalloc(size_t num_items, size_t size, void** result) {
+ const size_t alloc_size = num_items * size;
diff --git a/www/chromium/files/patch-base_process_memory.h b/www/chromium/files/patch-base_process_memory.h
index 952ad87..f2b7f52 100644
--- a/www/chromium/files/patch-base_process_memory.h
+++ b/www/chromium/files/patch-base_process_memory.h
@@ -1,4 +1,4 @@
---- base/process/memory.h.orig 2017-01-26 00:49:07 UTC
+--- base/process/memory.h.orig 2017-04-19 19:06:28 UTC
+++ base/process/memory.h
@@ -32,7 +32,7 @@ BASE_EXPORT void EnableTerminationOnOutO
// Crash reporting classifies such crashes as OOM.
diff --git a/www/chromium/files/patch-base_process_memory__stubs.cc b/www/chromium/files/patch-base_process_memory__stubs.cc
index 4cddbcf..80d7a0c 100644
--- a/www/chromium/files/patch-base_process_memory__stubs.cc
+++ b/www/chromium/files/patch-base_process_memory__stubs.cc
@@ -1,4 +1,4 @@
---- base/process/memory_stubs.cc.orig 2017-01-26 00:49:07 UTC
+--- base/process/memory_stubs.cc.orig 2017-04-19 19:06:28 UTC
+++ base/process/memory_stubs.cc
@@ -31,6 +31,8 @@ void TerminateBecauseOutOfMemory(size_t
// their respective stdlib function since those functions will return null on a
diff --git a/www/chromium/files/patch-base_process_memory__unittest.cc b/www/chromium/files/patch-base_process_memory__unittest.cc
index 3e0539f..41f8b29 100644
--- a/www/chromium/files/patch-base_process_memory__unittest.cc
+++ b/www/chromium/files/patch-base_process_memory__unittest.cc
@@ -1,6 +1,6 @@
---- base/process/memory_unittest.cc.orig 2017-01-26 00:49:07 UTC
+--- base/process/memory_unittest.cc.orig 2017-04-19 19:06:28 UTC
+++ base/process/memory_unittest.cc
-@@ -82,10 +82,10 @@ TEST(MemoryTest, AllocatorShimWorking) {
+@@ -93,10 +93,10 @@ TEST(MemoryTest, AllocatorShimWorking) {
ASSERT_TRUE(base::allocator::IsAllocatorInitialized());
}
@@ -13,7 +13,7 @@
BUILDFLAG(ENABLE_WIN_ALLOCATOR_SHIM_TESTS) && \
!defined(MEMORY_TOOL_REPLACES_ALLOCATOR)
-@@ -439,5 +439,5 @@ TEST_F(OutOfMemoryHandledTest, Unchecked
+@@ -488,5 +488,5 @@ TEST_F(OutOfMemoryHandledTest, Unchecked
EXPECT_FALSE(base::UncheckedCalloc(1, test_size_, &value_));
EXPECT_TRUE(value_ == NULL);
}
diff --git a/www/chromium/files/patch-base_process_process__handle__freebsd.cc b/www/chromium/files/patch-base_process_process__handle__freebsd.cc
index 67ffd9e..4115ed2 100644
--- a/www/chromium/files/patch-base_process_process__handle__freebsd.cc
+++ b/www/chromium/files/patch-base_process_process__handle__freebsd.cc
@@ -1,4 +1,4 @@
---- base/process/process_handle_freebsd.cc.orig 2017-01-26 00:49:07 UTC
+--- base/process/process_handle_freebsd.cc.orig 2017-04-19 19:06:28 UTC
+++ base/process/process_handle_freebsd.cc
@@ -16,7 +16,7 @@ namespace base {
diff --git a/www/chromium/files/patch-base_process_process__info__linux.cc b/www/chromium/files/patch-base_process_process__info__linux.cc
index 2ce0f8e..ce71cfc 100644
--- a/www/chromium/files/patch-base_process_process__info__linux.cc
+++ b/www/chromium/files/patch-base_process_process__info__linux.cc
@@ -1,4 +1,4 @@
---- base/process/process_info_linux.cc.orig 2017-01-26 00:49:07 UTC
+--- base/process/process_info_linux.cc.orig 2017-04-19 19:06:28 UTC
+++ base/process/process_info_linux.cc
@@ -11,10 +11,28 @@
#include "base/process/process_handle.h"
@@ -26,10 +26,10 @@
+ return Time::FromTimeVal(proc.ki_start);
+#endif
+#else
- ProcessHandle pid = GetCurrentProcessHandle();
int64_t start_ticks =
- internal::ReadProcStatsAndGetFieldAsInt64(pid, internal::VM_STARTTIME);
-@@ -23,6 +41,7 @@ const Time CurrentProcessInfo::CreationT
+ internal::ReadProcSelfStatsAndGetFieldAsInt64(internal::VM_STARTTIME);
+ DCHECK(start_ticks);
+@@ -22,6 +40,7 @@ const Time CurrentProcessInfo::CreationT
Time boot_time = internal::GetBootTime();
DCHECK(!boot_time.is_null());
return Time(boot_time + start_offset);
diff --git a/www/chromium/files/patch-base_process_process__iterator__freebsd.cc b/www/chromium/files/patch-base_process_process__iterator__freebsd.cc
index 9062d3c..2ac07ce 100644
--- a/www/chromium/files/patch-base_process_process__iterator__freebsd.cc
+++ b/www/chromium/files/patch-base_process_process__iterator__freebsd.cc
@@ -1,4 +1,4 @@
---- base/process/process_iterator_freebsd.cc.orig 2017-01-26 00:49:07 UTC
+--- base/process/process_iterator_freebsd.cc.orig 2017-04-19 19:06:28 UTC
+++ base/process/process_iterator_freebsd.cc
@@ -10,6 +10,10 @@
#include <sys/sysctl.h>
diff --git a/www/chromium/files/patch-base_process_process__metrics.h b/www/chromium/files/patch-base_process_process__metrics.h
index 8f98ccd..b40a0e8 100644
--- a/www/chromium/files/patch-base_process_process__metrics.h
+++ b/www/chromium/files/patch-base_process_process__metrics.h
@@ -1,4 +1,4 @@
---- base/process/process_metrics.h.orig 2017-03-09 20:04:26 UTC
+--- base/process/process_metrics.h.orig 2017-04-19 19:06:28 UTC
+++ base/process/process_metrics.h
@@ -22,6 +22,12 @@
#include "base/values.h"
diff --git a/www/chromium/files/patch-base_process_process__metrics__freebsd.cc b/www/chromium/files/patch-base_process_process__metrics__freebsd.cc
index d18ef69..89aa3be 100644
--- a/www/chromium/files/patch-base_process_process__metrics__freebsd.cc
+++ b/www/chromium/files/patch-base_process_process__metrics__freebsd.cc
@@ -1,4 +1,4 @@
---- base/process/process_metrics_freebsd.cc.orig 2017-01-26 00:49:07 UTC
+--- base/process/process_metrics_freebsd.cc.orig 2017-04-19 19:06:28 UTC
+++ base/process/process_metrics_freebsd.cc
@@ -13,6 +13,9 @@
#include "base/memory/ptr_util.h"
diff --git a/www/chromium/files/patch-base_process_process__posix.cc b/www/chromium/files/patch-base_process_process__posix.cc
index a67e3bf..cfaca45 100644
--- a/www/chromium/files/patch-base_process_process__posix.cc
+++ b/www/chromium/files/patch-base_process_process__posix.cc
@@ -1,4 +1,4 @@
---- base/process/process_posix.cc.orig 2017-01-26 00:49:07 UTC
+--- base/process/process_posix.cc.orig 2017-04-19 19:06:28 UTC
+++ base/process/process_posix.cc
@@ -21,8 +21,18 @@
#include <sys/event.h>
@@ -53,9 +53,9 @@
+}
+#endif // !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_FREEBSD)
- bool Process::IsValid() const {
- return process_ != kNullProcessHandle;
-@@ -365,15 +379,32 @@ bool Process::WaitForExitWithTimeout(Tim
+ // static
+ void Process::TerminateCurrentProcessImmediately(int exit_code) {
+@@ -370,15 +384,32 @@ bool Process::WaitForExitWithTimeout(Tim
bool Process::IsProcessBackgrounded() const {
// See SetProcessBackgrounded().
DCHECK(IsValid());
diff --git a/www/chromium/files/patch-base_profiler_stack__sampling__profiler__unittest.cc b/www/chromium/files/patch-base_profiler_stack__sampling__profiler__unittest.cc
index 9e4f597..b1d245a6 100644
--- a/www/chromium/files/patch-base_profiler_stack__sampling__profiler__unittest.cc
+++ b/www/chromium/files/patch-base_profiler_stack__sampling__profiler__unittest.cc
@@ -1,6 +1,6 @@
---- base/profiler/stack_sampling_profiler_unittest.cc.orig 2017-01-26 00:49:07 UTC
+--- base/profiler/stack_sampling_profiler_unittest.cc.orig 2017-04-19 19:06:28 UTC
+++ base/profiler/stack_sampling_profiler_unittest.cc
-@@ -31,7 +31,7 @@
+@@ -33,7 +33,7 @@
#include <intrin.h>
#include <malloc.h>
#include <windows.h>
diff --git a/www/chromium/files/patch-base_security__unittest.cc b/www/chromium/files/patch-base_security__unittest.cc
index df3c397..46151b5 100644
--- a/www/chromium/files/patch-base_security__unittest.cc
+++ b/www/chromium/files/patch-base_security__unittest.cc
@@ -1,4 +1,4 @@
---- base/security_unittest.cc.orig 2017-01-26 00:49:07 UTC
+--- base/security_unittest.cc.orig 2017-04-19 19:06:28 UTC
+++ base/security_unittest.cc
@@ -74,7 +74,7 @@ bool IsTcMallocBypassed() {
// FAILS_ is too clunky.
diff --git a/www/chromium/files/patch-base_sys__info__freebsd.cc b/www/chromium/files/patch-base_sys__info__freebsd.cc
index f65a768..3010800 100644
--- a/www/chromium/files/patch-base_sys__info__freebsd.cc
+++ b/www/chromium/files/patch-base_sys__info__freebsd.cc
@@ -1,4 +1,4 @@
---- base/sys_info_freebsd.cc.orig 2017-01-26 00:49:07 UTC
+--- base/sys_info_freebsd.cc.orig 2017-04-19 19:06:28 UTC
+++ base/sys_info_freebsd.cc
@@ -12,12 +12,34 @@
diff --git a/www/chromium/files/patch-base_sys__info__posix.cc b/www/chromium/files/patch-base_sys__info__posix.cc
index 2d278c0..90ecf30 100644
--- a/www/chromium/files/patch-base_sys__info__posix.cc
+++ b/www/chromium/files/patch-base_sys__info__posix.cc
@@ -1,4 +1,4 @@
---- base/sys_info_posix.cc.orig 2017-01-26 00:49:07 UTC
+--- base/sys_info_posix.cc.orig 2017-04-19 19:06:28 UTC
+++ base/sys_info_posix.cc
@@ -35,7 +35,7 @@
diff --git a/www/chromium/files/patch-base_test_BUILD.gn b/www/chromium/files/patch-base_test_BUILD.gn
index 7ba56dd..2bc772b 100644
--- a/www/chromium/files/patch-base_test_BUILD.gn
+++ b/www/chromium/files/patch-base_test_BUILD.gn
@@ -1,4 +1,4 @@
---- base/test/BUILD.gn.orig 2017-03-09 20:04:26 UTC
+--- base/test/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ base/test/BUILD.gn
@@ -312,7 +312,7 @@ static_library("run_all_base_unittests")
]
diff --git a/www/chromium/files/patch-base_test_launcher_test__launcher.cc b/www/chromium/files/patch-base_test_launcher_test__launcher.cc
index 9dbbc6d..0d81c98 100644
--- a/www/chromium/files/patch-base_test_launcher_test__launcher.cc
+++ b/www/chromium/files/patch-base_test_launcher_test__launcher.cc
@@ -1,4 +1,4 @@
---- base/test/launcher/test_launcher.cc.orig 2017-03-09 20:04:26 UTC
+--- base/test/launcher/test_launcher.cc.orig 2017-04-19 19:06:28 UTC
+++ base/test/launcher/test_launcher.cc
@@ -60,6 +60,10 @@
#include "base/win/windows_version.h"
diff --git a/www/chromium/files/patch-base_test_test__file__util__posix.cc b/www/chromium/files/patch-base_test_test__file__util__posix.cc
index 8e5366e..be8a681 100644
--- a/www/chromium/files/patch-base_test_test__file__util__posix.cc
+++ b/www/chromium/files/patch-base_test_test__file__util__posix.cc
@@ -1,4 +1,4 @@
---- base/test/test_file_util_posix.cc.orig 2017-01-26 00:49:07 UTC
+--- base/test/test_file_util_posix.cc.orig 2017-04-19 19:06:28 UTC
+++ base/test/test_file_util_posix.cc
@@ -79,7 +79,7 @@ bool DieFileDie(const FilePath& file, bo
return DeleteFile(file, recurse);
diff --git a/www/chromium/files/patch-base_third__party_libevent_BUILD.gn b/www/chromium/files/patch-base_third__party_libevent_BUILD.gn
index fd49b29..5128622 100644
--- a/www/chromium/files/patch-base_third__party_libevent_BUILD.gn
+++ b/www/chromium/files/patch-base_third__party_libevent_BUILD.gn
@@ -1,4 +1,4 @@
---- base/third_party/libevent/BUILD.gn.orig 2017-03-09 20:04:26 UTC
+--- base/third_party/libevent/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ base/third_party/libevent/BUILD.gn
@@ -50,6 +50,9 @@ static_library("libevent") {
"linux/event-config.h",
diff --git a/www/chromium/files/patch-base_threading_platform__thread.h b/www/chromium/files/patch-base_threading_platform__thread.h
index df2bdfc..85bdf78 100644
--- a/www/chromium/files/patch-base_threading_platform__thread.h
+++ b/www/chromium/files/patch-base_threading_platform__thread.h
@@ -1,6 +1,6 @@
---- base/threading/platform_thread.h.orig 2017-01-26 00:49:07 UTC
+--- base/threading/platform_thread.h.orig 2017-04-19 19:06:28 UTC
+++ base/threading/platform_thread.h
-@@ -205,7 +205,7 @@ class BASE_EXPORT PlatformThread {
+@@ -211,7 +211,7 @@ class BASE_EXPORT PlatformThread {
static ThreadPriority GetCurrentThreadPriority();
diff --git a/www/chromium/files/patch-base_threading_platform__thread__linux.cc b/www/chromium/files/patch-base_threading_platform__thread__linux.cc
index 43c7bb9..dc0070c 100644
--- a/www/chromium/files/patch-base_threading_platform__thread__linux.cc
+++ b/www/chromium/files/patch-base_threading_platform__thread__linux.cc
@@ -1,4 +1,4 @@
---- base/threading/platform_thread_linux.cc.orig 2017-01-26 00:49:07 UTC
+--- base/threading/platform_thread_linux.cc.orig 2017-04-19 19:06:28 UTC
+++ base/threading/platform_thread_linux.cc
@@ -19,7 +19,9 @@
diff --git a/www/chromium/files/patch-base_threading_platform__thread__posix.cc b/www/chromium/files/patch-base_threading_platform__thread__posix.cc
index 579b894..936d327 100644
--- a/www/chromium/files/patch-base_threading_platform__thread__posix.cc
+++ b/www/chromium/files/patch-base_threading_platform__thread__posix.cc
@@ -1,4 +1,4 @@
---- base/threading/platform_thread_posix.cc.orig 2017-01-26 00:49:07 UTC
+--- base/threading/platform_thread_posix.cc.orig 2017-04-19 19:06:28 UTC
+++ base/threading/platform_thread_posix.cc
@@ -56,7 +56,7 @@ void* ThreadFunc(void* params) {
if (!thread_params->joinable)
diff --git a/www/chromium/files/patch-base_threading_thread__task__runner__handle.cc b/www/chromium/files/patch-base_threading_thread__task__runner__handle.cc
new file mode 100644
index 0000000..468a4f2
--- /dev/null
+++ b/www/chromium/files/patch-base_threading_thread__task__runner__handle.cc
@@ -0,0 +1,26 @@
+--- base/threading/thread_task_runner_handle.cc.orig 2017-04-19 19:06:28 UTC
++++ base/threading/thread_task_runner_handle.cc
+@@ -7,6 +7,7 @@
+ #include <utility>
+
+ #include "base/bind.h"
++#include "base/callback_helpers.h"
+ #include "base/lazy_instance.h"
+ #include "base/logging.h"
+ #include "base/memory/ptr_util.h"
+@@ -34,6 +35,7 @@ bool ThreadTaskRunnerHandle::IsSet() {
+ return !!lazy_tls_ptr.Pointer()->Get();
+ }
+
++#if defined(OS_BSD)
+ // static
+ ScopedClosureRunner ThreadTaskRunnerHandle::OverrideForTesting(
+ scoped_refptr<SingleThreadTaskRunner> overriding_task_runner) {
+@@ -77,6 +79,7 @@ ScopedClosureRunner ThreadTaskRunnerHand
+ base::Passed(&overriding_task_runner),
+ base::Unretained(ttrh->task_runner_.get())));
+ }
++#endif
+
+ ThreadTaskRunnerHandle::ThreadTaskRunnerHandle(
+ scoped_refptr<SingleThreadTaskRunner> task_runner)
diff --git a/www/chromium/files/patch-base_trace__event_malloc__dump__provider.cc b/www/chromium/files/patch-base_trace__event_malloc__dump__provider.cc
index 144f57c..e8a0513 100644
--- a/www/chromium/files/patch-base_trace__event_malloc__dump__provider.cc
+++ b/www/chromium/files/patch-base_trace__event_malloc__dump__provider.cc
@@ -1,4 +1,4 @@
---- base/trace_event/malloc_dump_provider.cc.orig 2017-01-26 00:49:07 UTC
+--- base/trace_event/malloc_dump_provider.cc.orig 2017-04-19 19:06:28 UTC
+++ base/trace_event/malloc_dump_provider.cc
@@ -21,7 +21,7 @@
#if defined(OS_MACOSX)
diff --git a/www/chromium/files/patch-base_trace__event_process__memory__dump.cc b/www/chromium/files/patch-base_trace__event_process__memory__dump.cc
index b1bff14..446490d 100644
--- a/www/chromium/files/patch-base_trace__event_process__memory__dump.cc
+++ b/www/chromium/files/patch-base_trace__event_process__memory__dump.cc
@@ -1,4 +1,4 @@
---- base/trace_event/process_memory_dump.cc.orig 2017-01-26 00:49:07 UTC
+--- base/trace_event/process_memory_dump.cc.orig 2017-04-19 19:06:28 UTC
+++ base/trace_event/process_memory_dump.cc
@@ -83,7 +83,7 @@ size_t ProcessMemoryDump::CountResidentB
const size_t kMaxChunkSize = 8 * 1024 * 1024;
diff --git a/www/chromium/files/patch-breakpad_BUILD.gn b/www/chromium/files/patch-breakpad_BUILD.gn
index 3b41b9a..9bc9d65 100644
--- a/www/chromium/files/patch-breakpad_BUILD.gn
+++ b/www/chromium/files/patch-breakpad_BUILD.gn
@@ -1,4 +1,4 @@
---- breakpad/BUILD.gn.orig 2017-01-26 00:49:07 UTC
+--- breakpad/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ breakpad/BUILD.gn
@@ -468,7 +468,7 @@ if (is_mac) {
}
diff --git a/www/chromium/files/patch-breakpad_src_common_simple__string__dictionary.h b/www/chromium/files/patch-breakpad_src_common_simple__string__dictionary.h
new file mode 100644
index 0000000..307f136
--- /dev/null
+++ b/www/chromium/files/patch-breakpad_src_common_simple__string__dictionary.h
@@ -0,0 +1,11 @@
+--- breakpad/src/common/simple_string_dictionary.h.orig 2017-04-19 19:07:40 UTC
++++ breakpad/src/common/simple_string_dictionary.h
+@@ -33,7 +33,7 @@
+ #include <assert.h>
+ #include <string.h>
+
+-#include "common/basictypes.h"
++#include "breakpad/src/common/basictypes.h"
+
+ namespace google_breakpad {
+
diff --git a/www/chromium/files/patch-build_config_BUILD.gn b/www/chromium/files/patch-build_config_BUILD.gn
index c8ddb0ec..2f85025 100644
--- a/www/chromium/files/patch-build_config_BUILD.gn
+++ b/www/chromium/files/patch-build_config_BUILD.gn
@@ -1,6 +1,6 @@
---- build/config/BUILD.gn.orig 2017-03-09 20:04:27 UTC
+--- build/config/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ build/config/BUILD.gn
-@@ -196,7 +196,7 @@ config("debug") {
+@@ -193,7 +193,7 @@ config("debug") {
# builds, and we have to tell it to turn it off.
defines += [ "_HAS_ITERATOR_DEBUGGING=0" ]
}
@@ -9,7 +9,7 @@
# Enable libstdc++ debugging facilities to help catch problems early, see
# http://crbug.com/65151 .
# TODO(phajdan.jr): Should we enable this for all of POSIX?
-@@ -279,7 +279,7 @@ config("default_libs") {
+@@ -276,7 +276,7 @@ config("default_libs") {
"CoreText.framework",
"Foundation.framework",
]
@@ -18,7 +18,7 @@
libs = [
"dl",
"rt",
-@@ -310,7 +310,7 @@ config("executable_config") {
+@@ -307,7 +307,7 @@ config("executable_config") {
]
} else if (is_ios) {
configs += [ "//build/config/ios:ios_dynamic_flags" ]
diff --git a/www/chromium/files/patch-build_config_BUILDCONFIG.gn b/www/chromium/files/patch-build_config_BUILDCONFIG.gn
index d870ac2..841b49d 100644
--- a/www/chromium/files/patch-build_config_BUILDCONFIG.gn
+++ b/www/chromium/files/patch-build_config_BUILDCONFIG.gn
@@ -1,4 +1,4 @@
---- build/config/BUILDCONFIG.gn.orig 2017-03-09 20:04:27 UTC
+--- build/config/BUILDCONFIG.gn.orig 2017-04-19 19:06:28 UTC
+++ build/config/BUILDCONFIG.gn
@@ -131,12 +131,13 @@ declare_args() {
is_official_build = false
diff --git a/www/chromium/files/patch-build_config_allocator.gni b/www/chromium/files/patch-build_config_allocator.gni
index 519f651..ad40417 100644
--- a/www/chromium/files/patch-build_config_allocator.gni
+++ b/www/chromium/files/patch-build_config_allocator.gni
@@ -1,11 +1,16 @@
---- build/config/allocator.gni.orig 2017-01-26 00:49:07 UTC
+--- build/config/allocator.gni.orig 2017-04-19 19:06:28 UTC
+++ build/config/allocator.gni
-@@ -44,7 +44,7 @@ assert(use_allocator == "none" || use_al
+@@ -45,10 +45,10 @@ assert(use_allocator == "none" || use_al
assert(!is_win || use_allocator == "none", "Tcmalloc doesn't work on Windows.")
+ assert(!is_mac || use_allocator == "none", "Tcmalloc doesn't work on macOS.")
- assert(
-- !use_experimental_allocator_shim || is_linux || is_android || is_win,
-+ !use_experimental_allocator_shim || is_linux || is_android || is_win || is_bsd,
- "use_experimental_allocator_shim supported only on Linux, Android and Windows targets")
+-assert(!use_experimental_allocator_shim || is_linux || is_android || is_win ||
+- is_mac,
++assert(!use_experimental_allocator_shim || is_linux || is_android || is_win ||
++ is_mac || is_bsd,
+ "use_experimental_allocator_shim supported only on Linux, Android, " +
+- "Windows and macOS targets")
++ "Windows, macOS and BSD targets")
if (is_win && use_experimental_allocator_shim) {
+ assert(!is_component_build,
diff --git a/www/chromium/files/patch-build_config_clang_BUILD.gn b/www/chromium/files/patch-build_config_clang_BUILD.gn
index 4d41b6c..9a30eeb 100644
--- a/www/chromium/files/patch-build_config_clang_BUILD.gn
+++ b/www/chromium/files/patch-build_config_clang_BUILD.gn
@@ -1,4 +1,4 @@
---- build/config/clang/BUILD.gn.orig 2017-01-26 00:49:07 UTC
+--- build/config/clang/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ build/config/clang/BUILD.gn
@@ -20,7 +20,7 @@ config("find_bad_constructs") {
rebase_path("${clang_base_path}/lib/libFindBadConstructs.dylib",
@@ -9,8 +9,8 @@
cflags += [
"-Xclang",
"-load",
-@@ -37,7 +37,7 @@ config("find_bad_constructs") {
- "find-bad-constructs",
+@@ -41,7 +41,7 @@ config("find_bad_constructs") {
+ "check-auto-raw-pointer",
]
- if ((is_linux || is_android) && !is_chromecast) {
diff --git a/www/chromium/files/patch-build_config_compiler_BUILD.gn b/www/chromium/files/patch-build_config_compiler_BUILD.gn
index 897e05c..9709580 100644
--- a/www/chromium/files/patch-build_config_compiler_BUILD.gn
+++ b/www/chromium/files/patch-build_config_compiler_BUILD.gn
@@ -1,6 +1,6 @@
---- build/config/compiler/BUILD.gn.orig 2017-03-09 20:04:27 UTC
+--- build/config/compiler/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ build/config/compiler/BUILD.gn
-@@ -155,7 +155,7 @@ config("compiler") {
+@@ -158,7 +158,7 @@ config("compiler") {
configs += [ "//build/config/win:compiler" ]
} else if (is_android) {
configs += [ "//build/config/android:compiler" ]
@@ -9,7 +9,7 @@
configs += [ "//build/config/linux:compiler" ]
} else if (is_nacl) {
configs += [ "//build/config/nacl:compiler" ]
-@@ -282,7 +282,7 @@ config("compiler") {
+@@ -301,7 +301,7 @@ config("compiler") {
# Linux/Android common flags setup.
# ---------------------------------
@@ -18,12 +18,12 @@
cflags += [
"-fPIC",
"-pipe", # Use pipes for communicating between sub-processes. Faster.
-@@ -409,14 +409,14 @@ config("compiler") {
+@@ -428,14 +428,14 @@ config("compiler") {
# clang-cl (used if is_win) doesn't expose this flag.
# Currently disabled for nacl since its toolchain lacks this flag (too old).
# TODO(zforman): Once nacl's toolchain is updated, remove check.
-- if (is_clang && is_linux) {
-+ if (is_clang && (is_linux || is_bsd)) {
+- if (is_clang && is_linux && strip_absolute_paths_from_debug_symbols) {
++ if (is_clang && (is_linux || is_bsd) && strip_absolute_paths_from_debug_symbols) {
absolute_path = rebase_path("//.")
cflags += [ "-fdebug-prefix-map=$absolute_path=." ]
}
@@ -35,7 +35,7 @@
# gnu++11 instead of c++11 is needed because some code uses typeof() (a
# GNU extension).
# TODO(thakis): Eventually switch this to c++11 instead,
-@@ -469,7 +469,7 @@ config("compiler") {
+@@ -488,7 +488,7 @@ config("compiler") {
]
# Apply a lower LTO optimization level as the default is too slow.
@@ -44,7 +44,7 @@
if (use_lld) {
ldflags += [ "-Wl,--lto-O1" ]
} else {
-@@ -489,7 +489,7 @@ config("compiler") {
+@@ -508,7 +508,7 @@ config("compiler") {
# targeting ARM, without this flag, LTO produces a .text section that is
# larger than the maximum call displacement, preventing the linker from
# relocating calls (http://llvm.org/PR22999).
@@ -53,7 +53,7 @@
ldflags += [ "-Wl,-plugin-opt,-function-sections" ]
}
}
-@@ -757,7 +757,7 @@ config("compiler_codegen") {
+@@ -776,7 +776,7 @@ config("compiler_codegen") {
# configs -= [ "//build/config/compiler:clang_stackrealign" ]
# See https://crbug.com/556393 for details of where it must be avoided.
config("clang_stackrealign") {
@@ -62,7 +62,7 @@
cflags = [
# Align the stack on 16-byte boundaries, http://crbug.com/418554.
"-mstack-alignment=16",
-@@ -811,7 +811,7 @@ config("runtime_library") {
+@@ -830,7 +830,7 @@ config("runtime_library") {
# smaller.
if (is_win) {
configs += [ "//build/config/win:runtime_library" ]
@@ -71,16 +71,16 @@
configs += [ "//build/config/linux:runtime_library" ]
} else if (is_ios) {
configs += [ "//build/config/ios:runtime_library" ]
-@@ -1076,7 +1076,7 @@ config("default_warnings") {
- "-Wno-nonportable-include-path",
+@@ -1087,7 +1087,7 @@ config("default_warnings") {
- # TODO(hans): https://crbug.com/637306
-- "-Wno-address-of-packed-member",
-+ # "-Wno-address-of-packed-member",
- ]
- if (llvm_force_head_revision) {
- cflags += [
-@@ -1119,7 +1119,7 @@ config("chromium_code") {
+ # use_xcode_clang only refers to the iOS toolchain, host binaries use
+ # chromium's clang always.
+- if (!is_nacl && (!use_xcode_clang || current_toolchain == host_toolchain)) {
++ if (!is_nacl && !is_bsd && (!use_xcode_clang || current_toolchain == host_toolchain)) {
+ # Flags NaCl (Clang 3.7) and Xcode 7.3 (Clang clang-703.0.31) do not
+ # recognize.
+ cflags += [
+@@ -1144,7 +1144,7 @@ config("chromium_code") {
]
if (!is_debug && !using_sanitizer &&
@@ -89,7 +89,7 @@
# _FORTIFY_SOURCE isn't really supported by Clang now, see
# http://llvm.org/bugs/show_bug.cgi?id=16821.
# It seems to work fine with Ubuntu 12 headers though, so use it in
-@@ -1178,7 +1178,7 @@ config("no_chromium_code") {
+@@ -1203,7 +1203,7 @@ config("no_chromium_code") {
]
}
diff --git a/www/chromium/files/patch-build_config_crypto.gni b/www/chromium/files/patch-build_config_crypto.gni
index 65d4f30..29f38a6 100644
--- a/www/chromium/files/patch-build_config_crypto.gni
+++ b/www/chromium/files/patch-build_config_crypto.gni
@@ -1,4 +1,4 @@
---- build/config/crypto.gni.orig 2017-01-26 00:49:07 UTC
+--- build/config/crypto.gni.orig 2017-04-19 19:06:28 UTC
+++ build/config/crypto.gni
@@ -20,4 +20,4 @@ use_openssl_certs = is_android || is_nac
diff --git a/www/chromium/files/patch-build_config_features.gni b/www/chromium/files/patch-build_config_features.gni
index 5da4cd2..bb7ef35 100644
--- a/www/chromium/files/patch-build_config_features.gni
+++ b/www/chromium/files/patch-build_config_features.gni
@@ -1,6 +1,6 @@
---- build/config/features.gni.orig 2017-03-09 20:04:27 UTC
+--- build/config/features.gni.orig 2017-04-19 19:06:28 UTC
+++ build/config/features.gni
-@@ -57,13 +57,13 @@ declare_args() {
+@@ -60,13 +60,13 @@ declare_args() {
# libudev usage. This currently only affects the content layer.
use_udev = is_linux && !is_chromecast
diff --git a/www/chromium/files/patch-build_config_linux_gtk2_BUILD.gn b/www/chromium/files/patch-build_config_linux_gtk2_BUILD.gn
index 811a678..9943c13 100644
--- a/www/chromium/files/patch-build_config_linux_gtk2_BUILD.gn
+++ b/www/chromium/files/patch-build_config_linux_gtk2_BUILD.gn
@@ -1,4 +1,4 @@
---- build/config/linux/gtk2/BUILD.gn.orig 2017-03-09 20:04:27 UTC
+--- build/config/linux/gtk2/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ build/config/linux/gtk2/BUILD.gn
@@ -4,7 +4,7 @@
diff --git a/www/chromium/files/patch-build_config_linux_gtk3_BUILD.gn b/www/chromium/files/patch-build_config_linux_gtk3_BUILD.gn
index df669cf..e9bc6f5 100644
--- a/www/chromium/files/patch-build_config_linux_gtk3_BUILD.gn
+++ b/www/chromium/files/patch-build_config_linux_gtk3_BUILD.gn
@@ -1,4 +1,4 @@
---- build/config/linux/gtk3/BUILD.gn.orig 2017-03-09 20:04:27 UTC
+--- build/config/linux/gtk3/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ build/config/linux/gtk3/BUILD.gn
@@ -4,7 +4,7 @@
diff --git a/www/chromium/files/patch-build_config_linux_gtk_BUILD.gn b/www/chromium/files/patch-build_config_linux_gtk_BUILD.gn
index 722dcf6..b7ad225 100644
--- a/www/chromium/files/patch-build_config_linux_gtk_BUILD.gn
+++ b/www/chromium/files/patch-build_config_linux_gtk_BUILD.gn
@@ -1,4 +1,4 @@
---- build/config/linux/gtk/BUILD.gn.orig 2017-03-09 20:04:27 UTC
+--- build/config/linux/gtk/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ build/config/linux/gtk/BUILD.gn
@@ -5,7 +5,7 @@
import("//build/config/linux/gtk/gtk.gni")
diff --git a/www/chromium/files/patch-build_config_linux_pkg-config.py b/www/chromium/files/patch-build_config_linux_pkg-config.py
index 7441f2c..f8a75c9 100644
--- a/www/chromium/files/patch-build_config_linux_pkg-config.py
+++ b/www/chromium/files/patch-build_config_linux_pkg-config.py
@@ -1,4 +1,4 @@
---- build/config/linux/pkg-config.py.orig 2017-01-26 00:49:07 UTC
+--- build/config/linux/pkg-config.py.orig 2017-04-19 19:06:28 UTC
+++ build/config/linux/pkg-config.py
@@ -57,8 +57,12 @@ def SetConfigPath(options):
print "You must specify an architecture via -a if using a sysroot."
diff --git a/www/chromium/files/patch-build_config_sanitizers_BUILD.gn b/www/chromium/files/patch-build_config_sanitizers_BUILD.gn
index 4483782..e385f3e 100644
--- a/www/chromium/files/patch-build_config_sanitizers_BUILD.gn
+++ b/www/chromium/files/patch-build_config_sanitizers_BUILD.gn
@@ -1,6 +1,6 @@
---- build/config/sanitizers/BUILD.gn.orig 2017-03-09 20:04:27 UTC
+--- build/config/sanitizers/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ build/config/sanitizers/BUILD.gn
-@@ -420,7 +420,7 @@ config("lsan_flags") {
+@@ -428,7 +428,7 @@ config("lsan_flags") {
config("msan_flags") {
if (is_msan) {
@@ -9,7 +9,7 @@
if (!defined(msan_blacklist_path)) {
msan_blacklist_path =
rebase_path("//tools/msan/blacklist.txt", root_build_dir)
-@@ -435,7 +435,7 @@ config("msan_flags") {
+@@ -443,7 +443,7 @@ config("msan_flags") {
config("tsan_flags") {
if (is_tsan) {
diff --git a/www/chromium/files/patch-build_config_sanitizers_sanitizers.gni b/www/chromium/files/patch-build_config_sanitizers_sanitizers.gni
index 87b6705..f7eeffb 100644
--- a/www/chromium/files/patch-build_config_sanitizers_sanitizers.gni
+++ b/www/chromium/files/patch-build_config_sanitizers_sanitizers.gni
@@ -1,4 +1,4 @@
---- build/config/sanitizers/sanitizers.gni.orig 2017-03-09 20:04:27 UTC
+--- build/config/sanitizers/sanitizers.gni.orig 2017-04-19 19:06:28 UTC
+++ build/config/sanitizers/sanitizers.gni
@@ -54,8 +54,8 @@ declare_args() {
# See http://clang.llvm.org/docs/ControlFlowIntegrity.html
diff --git a/www/chromium/files/patch-build_config_ui.gni b/www/chromium/files/patch-build_config_ui.gni
index aff42ac..47d20b7 100644
--- a/www/chromium/files/patch-build_config_ui.gni
+++ b/www/chromium/files/patch-build_config_ui.gni
@@ -1,4 +1,4 @@
---- build/config/ui.gni.orig 2017-03-09 20:04:27 UTC
+--- build/config/ui.gni.orig 2017-04-19 19:06:28 UTC
+++ build/config/ui.gni
@@ -31,10 +31,10 @@ declare_args() {
diff --git a/www/chromium/files/patch-build_linux_libpci_BUILD.gn b/www/chromium/files/patch-build_linux_libpci_BUILD.gn
index 04196ef..e5e16ca 100644
--- a/www/chromium/files/patch-build_linux_libpci_BUILD.gn
+++ b/www/chromium/files/patch-build_linux_libpci_BUILD.gn
@@ -1,4 +1,4 @@
---- build/linux/libpci/BUILD.gn.orig 2017-01-26 00:49:07 UTC
+--- build/linux/libpci/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ build/linux/libpci/BUILD.gn
@@ -3,20 +3,36 @@
# found in the LICENSE file.
diff --git a/www/chromium/files/patch-build_secondary_third__party_nss_BUILD.gn b/www/chromium/files/patch-build_secondary_third__party_nss_BUILD.gn
index 1bba778..509d611 100644
--- a/www/chromium/files/patch-build_secondary_third__party_nss_BUILD.gn
+++ b/www/chromium/files/patch-build_secondary_third__party_nss_BUILD.gn
@@ -1,4 +1,4 @@
---- build/secondary/third_party/nss/BUILD.gn.orig 2017-01-26 00:49:07 UTC
+--- build/secondary/third_party/nss/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ build/secondary/third_party/nss/BUILD.gn
@@ -4,7 +4,7 @@
diff --git a/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni b/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni
index 827ceba..9c4b56c 100644
--- a/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni
+++ b/www/chromium/files/patch-build_toolchain_gcc__toolchain.gni
@@ -1,6 +1,6 @@
---- build/toolchain/gcc_toolchain.gni.orig 2017-01-26 00:49:07 UTC
+--- build/toolchain/gcc_toolchain.gni.orig 2017-04-19 19:06:28 UTC
+++ build/toolchain/gcc_toolchain.gni
-@@ -11,6 +11,11 @@ import("//build/toolchain/cc_wrapper.gni
+@@ -12,6 +12,11 @@ import("//build/toolchain/clang_static_a
import("//build/toolchain/goma.gni")
import("//build/toolchain/toolchain.gni")
@@ -12,7 +12,7 @@
# This template defines a toolchain for something that works like gcc
# (including clang).
#
-@@ -482,14 +487,23 @@ template("clang_toolchain") {
+@@ -483,10 +488,22 @@ template("clang_toolchain") {
}
gcc_toolchain(target_name) {
@@ -32,14 +32,21 @@
+ cc = "$prefix/clang"
+ cxx = "$prefix/clang++"
+ ld = cxx
-
-- readelf = "${toolprefix}readelf"
-- ar = "${toolprefix}ar"
-- nm = "${toolprefix}nm"
+ readelf = "${toolprefix}readelf"
+ ar = "${toolprefix}ar"
+ nm = "${toolprefix}nm"
+ }
+ if (use_clang_static_analyzer) {
+ # Static analysis isn't supported under GOMA. See crbug.com/687245
+@@ -507,10 +524,6 @@ template("clang_toolchain") {
+ root_build_dir)
+ }
+
+- readelf = "${toolprefix}readelf"
+- ar = "${toolprefix}ar"
+- nm = "${toolprefix}nm"
+-
forward_variables_from(invoker, [ "strip" ])
+ toolchain_args = {
diff --git a/www/chromium/files/patch-build_toolchain_get__concurrent__links.py b/www/chromium/files/patch-build_toolchain_get__concurrent__links.py
index fe6a3c8..925ab06 100644
--- a/www/chromium/files/patch-build_toolchain_get__concurrent__links.py
+++ b/www/chromium/files/patch-build_toolchain_get__concurrent__links.py
@@ -1,4 +1,4 @@
---- build/toolchain/get_concurrent_links.py.orig 2017-01-26 00:49:07 UTC
+--- build/toolchain/get_concurrent_links.py.orig 2017-04-19 19:06:28 UTC
+++ build/toolchain/get_concurrent_links.py
@@ -45,6 +45,14 @@ def _GetTotalMemoryInBytes():
return int(subprocess.check_output(['sysctl', '-n', 'hw.memsize']))
diff --git a/www/chromium/files/patch-cc_layers_scrollbar__layer__impl__base.cc b/www/chromium/files/patch-cc_layers_scrollbar__layer__impl__base.cc
index 62876e4..de6cc4a 100644
--- a/www/chromium/files/patch-cc_layers_scrollbar__layer__impl__base.cc
+++ b/www/chromium/files/patch-cc_layers_scrollbar__layer__impl__base.cc
@@ -1,4 +1,4 @@
---- cc/layers/scrollbar_layer_impl_base.cc.orig 2017-01-26 00:49:07 UTC
+--- cc/layers/scrollbar_layer_impl_base.cc.orig 2017-04-19 19:06:28 UTC
+++ cc/layers/scrollbar_layer_impl_base.cc
@@ -174,8 +174,8 @@ gfx::Rect ScrollbarLayerImplBase::Comput
int thumb_offset = TrackStart();
diff --git a/www/chromium/files/patch-cc_trees_property__tree.cc b/www/chromium/files/patch-cc_trees_property__tree.cc
index 4a8bcfa..3aeb9ed 100644
--- a/www/chromium/files/patch-cc_trees_property__tree.cc
+++ b/www/chromium/files/patch-cc_trees_property__tree.cc
@@ -1,6 +1,6 @@
---- cc/trees/property_tree.cc.orig 2017-03-09 20:04:27 UTC
+--- cc/trees/property_tree.cc.orig 2017-04-19 19:06:28 UTC
+++ cc/trees/property_tree.cc
-@@ -1196,13 +1196,13 @@ gfx::ScrollOffset ScrollTree::MaxScrollO
+@@ -1229,13 +1229,13 @@ gfx::ScrollOffset ScrollTree::MaxScrollO
gfx::Size clip_layer_bounds = scroll_clip_layer_bounds(scroll_node->id);
diff --git a/www/chromium/files/patch-chrome_BUILD.gn b/www/chromium/files/patch-chrome_BUILD.gn
index 15a0bc3..c2b3e91 100644
--- a/www/chromium/files/patch-chrome_BUILD.gn
+++ b/www/chromium/files/patch-chrome_BUILD.gn
@@ -1,6 +1,6 @@
---- chrome/BUILD.gn.orig 2017-03-09 20:04:27 UTC
+--- chrome/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ chrome/BUILD.gn
-@@ -143,7 +143,7 @@ if (!is_android && !is_mac) {
+@@ -142,7 +142,7 @@ if (!is_android && !is_mac) {
data = [
"$root_out_dir/resources.pak",
]
@@ -9,7 +9,7 @@
data += [
"$root_out_dir/chrome_100_percent.pak",
"$root_out_dir/locales/en-US.pak",
-@@ -222,7 +222,7 @@ if (!is_android && !is_mac) {
+@@ -223,7 +223,7 @@ if (!is_android && !is_mac) {
sources += [ "app/chrome_exe_main_aura.cc" ]
}
@@ -18,7 +18,7 @@
sources += [
"app/chrome_dll_resource.h",
"app/chrome_main.cc",
-@@ -1521,7 +1521,7 @@ if (enable_resource_whitelist_generation
+@@ -1647,7 +1647,7 @@ if (enable_resource_whitelist_generation
}
}
diff --git a/www/chromium/files/patch-chrome_app_chrome__command__ids.h b/www/chromium/files/patch-chrome_app_chrome__command__ids.h
index 8a41dfd..804bba9 100644
--- a/www/chromium/files/patch-chrome_app_chrome__command__ids.h
+++ b/www/chromium/files/patch-chrome_app_chrome__command__ids.h
@@ -1,6 +1,6 @@
---- chrome/app/chrome_command_ids.h.orig 2017-01-26 00:49:07 UTC
+--- chrome/app/chrome_command_ids.h.orig 2017-04-19 19:06:28 UTC
+++ chrome/app/chrome_command_ids.h
-@@ -75,7 +75,7 @@
+@@ -71,7 +71,7 @@
#define IDC_VISIT_DESKTOP_OF_LRU_USER_2 34049
#define IDC_VISIT_DESKTOP_OF_LRU_USER_3 34050
diff --git a/www/chromium/files/patch-chrome_app_chrome__main__delegate.cc b/www/chromium/files/patch-chrome_app_chrome__main__delegate.cc
index a618134..80cc63a 100644
--- a/www/chromium/files/patch-chrome_app_chrome__main__delegate.cc
+++ b/www/chromium/files/patch-chrome_app_chrome__main__delegate.cc
@@ -1,4 +1,4 @@
---- chrome/app/chrome_main_delegate.cc.orig 2017-03-09 20:04:27 UTC
+--- chrome/app/chrome_main_delegate.cc.orig 2017-04-19 19:06:28 UTC
+++ chrome/app/chrome_main_delegate.cc
@@ -89,7 +89,7 @@
#include "chrome/app/chrome_crash_reporter_client.h"
@@ -95,7 +95,7 @@
// Zygote needs to call InitCrashReporter() in RunZygote().
if (process_type != switches::kZygoteProcess) {
#if defined(OS_ANDROID)
-@@ -898,7 +898,7 @@ void ChromeMainDelegate::PreSandboxStart
+@@ -899,7 +899,7 @@ void ChromeMainDelegate::PreSandboxStart
breakpad::InitCrashReporter(process_type);
#endif // defined(OS_ANDROID)
}
@@ -104,12 +104,12 @@
// After all the platform Breakpads have been initialized, store the command
// line for crash reporting.
-@@ -1008,7 +1008,7 @@ bool ChromeMainDelegate::DelaySandboxIni
+@@ -1005,7 +1005,7 @@ bool ChromeMainDelegate::DelaySandboxIni
#endif
return process_type == switches::kRelauncherProcess;
}
-#elif defined(OS_POSIX) && !defined(OS_ANDROID)
+#elif defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_BSD)
void ChromeMainDelegate::ZygoteStarting(
- ScopedVector<content::ZygoteForkDelegate>* delegates) {
+ std::vector<std::unique_ptr<content::ZygoteForkDelegate>>* delegates) {
#if defined(OS_CHROMEOS)
diff --git a/www/chromium/files/patch-chrome_app_chrome__main__delegate.h b/www/chromium/files/patch-chrome_app_chrome__main__delegate.h
index 1fd5ea7..0d28e5d 100644
--- a/www/chromium/files/patch-chrome_app_chrome__main__delegate.h
+++ b/www/chromium/files/patch-chrome_app_chrome__main__delegate.h
@@ -1,11 +1,11 @@
---- chrome/app/chrome_main_delegate.h.orig 2017-01-26 00:49:07 UTC
+--- chrome/app/chrome_main_delegate.h.orig 2017-04-19 19:06:28 UTC
+++ chrome/app/chrome_main_delegate.h
-@@ -44,7 +44,7 @@ class ChromeMainDelegate : public conten
+@@ -42,7 +42,7 @@ class ChromeMainDelegate : public conten
const std::string& process_type) override;
bool ShouldSendMachPort(const std::string& process_type) override;
bool DelaySandboxInitialization(const std::string& process_type) override;
-#elif defined(OS_POSIX) && !defined(OS_ANDROID)
+#elif defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_BSD)
- void ZygoteStarting(
- ScopedVector<content::ZygoteForkDelegate>* delegates) override;
+ void ZygoteStarting(std::vector<std::unique_ptr<content::ZygoteForkDelegate>>*
+ delegates) override;
void ZygoteForked() override;
diff --git a/www/chromium/files/patch-chrome_app_chromium__strings.grd b/www/chromium/files/patch-chrome_app_chromium__strings.grd
index fcaf7c1..9982377 100644
--- a/www/chromium/files/patch-chrome_app_chromium__strings.grd
+++ b/www/chromium/files/patch-chrome_app_chromium__strings.grd
@@ -1,6 +1,6 @@
---- chrome/app/chromium_strings.grd.orig 2017-03-09 20:04:27 UTC
+--- chrome/app/chromium_strings.grd.orig 2017-04-19 19:06:28 UTC
+++ chrome/app/chromium_strings.grd
-@@ -887,7 +887,7 @@ Signing in anyway will merge Chromium in
+@@ -891,7 +891,7 @@ Signing in anyway will merge Chromium in
</message>
<!-- ProcessSingleton -->
diff --git a/www/chromium/files/patch-chrome_app_generated__resources.grd b/www/chromium/files/patch-chrome_app_generated__resources.grd
index 569270b..0cb8a46 100644
--- a/www/chromium/files/patch-chrome_app_generated__resources.grd
+++ b/www/chromium/files/patch-chrome_app_generated__resources.grd
@@ -1,6 +1,6 @@
---- chrome/app/generated_resources.grd.orig 2017-03-09 20:04:27 UTC
+--- chrome/app/generated_resources.grd.orig 2017-04-19 19:06:28 UTC
+++ chrome/app/generated_resources.grd
-@@ -6868,7 +6868,7 @@ Keep your key file in a safe place. You
+@@ -6535,7 +6535,7 @@ Keep your key file in a safe place. You
<message name="IDS_FLAGS_FORCE_UI_DIRECTION_RTL" desc="Name for the option to force right-to-left UI direction mode.">
Right-to-left
</message>
@@ -9,7 +9,7 @@
<message name="IDS_FLAGS_ENABLE_INPUT_IME_API_NAME" desc="Name of the flag to enable che chrome.input.ime API.">
Enable Input IME API
</message>
-@@ -10122,7 +10122,7 @@ I don't think this site should be blocke
+@@ -9629,7 +9629,7 @@ I don't think this site should be blocke
<message name="IDS_APPEARANCE_GROUP_NAME" desc="The title of the appearance group">
Appearance
</message>
@@ -18,7 +18,7 @@
<message name="IDS_THEMES_GROUP_NAME" desc="The title of the themes group">
Themes
</message>
-@@ -10130,7 +10130,7 @@ I don't think this site should be blocke
+@@ -9637,7 +9637,7 @@ I don't think this site should be blocke
<message name="IDS_THEMES_RESET_BUTTON" desc="The button to reset your theme">
Reset to default theme
</message>
@@ -27,7 +27,7 @@
<message name="IDS_THEMES_GTK_BUTTON" desc="The button to choose GTK colors and icons as the current theme.">
Use GTK+ theme
</message>
-@@ -11455,7 +11455,7 @@ Tell us what happened exactly before you
+@@ -10903,7 +10903,7 @@ Tell us what happened exactly before you
Set as default
</message>
diff --git a/www/chromium/files/patch-chrome_app_google__chrome__strings.grd b/www/chromium/files/patch-chrome_app_google__chrome__strings.grd
index 68c9d34..28c9099 100644
--- a/www/chromium/files/patch-chrome_app_google__chrome__strings.grd
+++ b/www/chromium/files/patch-chrome_app_google__chrome__strings.grd
@@ -1,6 +1,6 @@
---- chrome/app/google_chrome_strings.grd.orig 2017-03-09 20:04:27 UTC
+--- chrome/app/google_chrome_strings.grd.orig 2017-04-19 19:06:28 UTC
+++ chrome/app/google_chrome_strings.grd
-@@ -888,7 +888,7 @@ Signing in anyway will merge Chrome info
+@@ -892,7 +892,7 @@ Signing in anyway will merge Chrome info
</message>
<!-- ProcessSingleton -->
diff --git a/www/chromium/files/patch-chrome_app_mash_mash__runner.cc b/www/chromium/files/patch-chrome_app_mash_mash__runner.cc
index 74b467c..29251db 100644
--- a/www/chromium/files/patch-chrome_app_mash_mash__runner.cc
+++ b/www/chromium/files/patch-chrome_app_mash_mash__runner.cc
@@ -1,6 +1,6 @@
---- chrome/app/mash/mash_runner.cc.orig 2017-03-09 20:04:27 UTC
+--- chrome/app/mash/mash_runner.cc.orig 2017-04-19 19:06:28 UTC
+++ chrome/app/mash/mash_runner.cc
-@@ -249,7 +249,7 @@ int MashMain() {
+@@ -263,7 +263,7 @@ int MashMain() {
// TODO(sky): wire this up correctly.
service_manager::InitializeLogging();
diff --git a/www/chromium/files/patch-chrome_app_resources_locale__settings.grd b/www/chromium/files/patch-chrome_app_resources_locale__settings.grd
index 3cdce81..367c458 100644
--- a/www/chromium/files/patch-chrome_app_resources_locale__settings.grd
+++ b/www/chromium/files/patch-chrome_app_resources_locale__settings.grd
@@ -1,4 +1,4 @@
---- chrome/app/resources/locale_settings.grd.orig 2017-01-26 00:49:08 UTC
+--- chrome/app/resources/locale_settings.grd.orig 2017-04-19 19:06:29 UTC
+++ chrome/app/resources/locale_settings.grd
@@ -151,7 +151,7 @@
55
diff --git a/www/chromium/files/patch-chrome_app_settings__strings.grdp b/www/chromium/files/patch-chrome_app_settings__strings.grdp
index 23c04b6..8a79a33 100644
--- a/www/chromium/files/patch-chrome_app_settings__strings.grdp
+++ b/www/chromium/files/patch-chrome_app_settings__strings.grdp
@@ -1,6 +1,6 @@
---- chrome/app/settings_strings.grdp.orig 2017-03-09 20:04:27 UTC
+--- chrome/app/settings_strings.grdp.orig 2017-04-19 19:06:29 UTC
+++ chrome/app/settings_strings.grdp
-@@ -225,7 +225,7 @@
+@@ -240,7 +240,7 @@
<message name="IDS_SETTINGS_THEMES" desc="Name of the control which allows the user to get a theme for the browser.">
Themes
</message>
@@ -9,7 +9,7 @@
<message name="IDS_SETTINGS_SYSTEM_THEME" desc="Text of the label describing the system (GTK+) browser theme on Linux">
GTK+
</message>
-@@ -239,7 +239,7 @@
+@@ -254,7 +254,7 @@
Use Classic
</message>
</if>
diff --git a/www/chromium/files/patch-chrome_app_shutdown__signal__handlers__posix.cc b/www/chromium/files/patch-chrome_app_shutdown__signal__handlers__posix.cc
new file mode 100644
index 0000000..ed25b0f
--- /dev/null
+++ b/www/chromium/files/patch-chrome_app_shutdown__signal__handlers__posix.cc
@@ -0,0 +1,22 @@
+--- chrome/app/shutdown_signal_handlers_posix.cc.orig 2017-04-19 19:06:29 UTC
++++ chrome/app/shutdown_signal_handlers_posix.cc
+@@ -183,6 +183,11 @@ void InstallShutdownSignalHandlers(
+ g_pipe_pid = getpid();
+ g_shutdown_pipe_read_fd = pipefd[0];
+ g_shutdown_pipe_write_fd = pipefd[1];
++#if defined(OS_BSD)
++ // PTHREAD_STACK_MIN causes chromium to crash under FreeBSD,
++ // we request the default pthread stack size by specifying 0 here.
++ const size_t kShutdownDetectorThreadStackSize = 0;
++#else
+ #if !defined(ADDRESS_SANITIZER) && !defined(KEEP_SHADOW_STACKS)
+ const size_t kShutdownDetectorThreadStackSize = PTHREAD_STACK_MIN * 2;
+ #else
+@@ -191,6 +196,7 @@ void InstallShutdownSignalHandlers(
+ // size to avoid hitting the guard page.
+ const size_t kShutdownDetectorThreadStackSize = PTHREAD_STACK_MIN * 4;
+ #endif
++#endif
+ ShutdownDetector* detector = new ShutdownDetector(
+ g_shutdown_pipe_read_fd, shutdown_callback, task_runner);
+ // PlatformThread does not delete its delegate.
diff --git a/www/chromium/files/patch-chrome_browser_BUILD.gn b/www/chromium/files/patch-chrome_browser_BUILD.gn
index 2377b1c..5d12d99 100644
--- a/www/chromium/files/patch-chrome_browser_BUILD.gn
+++ b/www/chromium/files/patch-chrome_browser_BUILD.gn
@@ -1,6 +1,6 @@
---- chrome/browser/BUILD.gn.orig 2017-03-09 20:04:27 UTC
+--- chrome/browser/BUILD.gn.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/BUILD.gn
-@@ -2177,7 +2177,7 @@ split_static_library("browser") {
+@@ -2219,7 +2219,7 @@ split_static_library("browser") {
deps += [ "//device/udev_linux" ]
}
@@ -9,7 +9,7 @@
deps += [ "//third_party/speech-dispatcher" ]
}
-@@ -3559,7 +3559,7 @@ split_static_library("browser") {
+@@ -3606,7 +3606,7 @@ split_static_library("browser") {
}
}
diff --git a/www/chromium/files/patch-chrome_browser_about__flags.cc b/www/chromium/files/patch-chrome_browser_about__flags.cc
index 69ae51a..9a4ca2a 100644
--- a/www/chromium/files/patch-chrome_browser_about__flags.cc
+++ b/www/chromium/files/patch-chrome_browser_about__flags.cc
@@ -1,6 +1,6 @@
---- chrome/browser/about_flags.cc.orig 2017-03-09 20:04:27 UTC
+--- chrome/browser/about_flags.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/about_flags.cc
-@@ -820,7 +820,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -856,7 +856,7 @@ const FeatureEntry kFeatureEntries[] = {
kOsLinux | kOsCrOS | kOsWin | kOsAndroid,
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSmoothScrolling,
switches::kDisableSmoothScrolling)},
@@ -9,7 +9,7 @@
{"overlay-scrollbars", IDS_FLAGS_OVERLAY_SCROLLBARS_NAME,
IDS_FLAGS_OVERLAY_SCROLLBARS_DESCRIPTION,
// Uses the system preference on Mac (a different implementation).
-@@ -1345,11 +1345,11 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -1374,11 +1374,11 @@ const FeatureEntry kFeatureEntries[] = {
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTranslateNewUX,
switches::kDisableTranslateNewUX)},
#endif // OS_MACOSX
@@ -23,7 +23,7 @@
{"translate-lang-by-ulp", IDS_FLAGS_TRANSLATE_LANGUAGE_BY_ULP_NAME,
IDS_FLAGS_TRANSLATE_LANGUAGE_BY_ULP_DESCRIPTION, kOsAll,
FEATURE_VALUE_TYPE(translate::kTranslateLanguageByULP)},
-@@ -1778,7 +1778,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -1802,7 +1802,7 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_ENABLE_MATERIAL_DESIGN_EXTENSIONS_DESCRIPTION, kOsDesktop,
FEATURE_VALUE_TYPE(features::kMaterialDesignExtensions)},
#endif // ENABLE_EXTENSIONS
diff --git a/www/chromium/files/patch-chrome_browser_browser__process__impl.cc b/www/chromium/files/patch-chrome_browser_browser__process__impl.cc
index c89c536..b5a9b40 100644
--- a/www/chromium/files/patch-chrome_browser_browser__process__impl.cc
+++ b/www/chromium/files/patch-chrome_browser_browser__process__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/browser_process_impl.cc.orig 2017-03-09 20:04:27 UTC
+--- chrome/browser/browser_process_impl.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/browser_process_impl.cc
-@@ -170,7 +170,7 @@
+@@ -171,7 +171,7 @@
#include "chrome/browser/media/webrtc/webrtc_log_uploader.h"
#endif
@@ -9,7 +9,7 @@
#include "chrome/browser/memory/tab_manager.h"
#endif
-@@ -783,7 +783,7 @@ gcm::GCMDriver* BrowserProcessImpl::gcm_
+@@ -789,7 +789,7 @@ gcm::GCMDriver* BrowserProcessImpl::gcm_
memory::TabManager* BrowserProcessImpl::GetTabManager() {
DCHECK(CalledOnValidThread());
diff --git a/www/chromium/files/patch-chrome_browser_browser__process__impl.h b/www/chromium/files/patch-chrome_browser_browser__process__impl.h
index 4d09299..aab0658 100644
--- a/www/chromium/files/patch-chrome_browser_browser__process__impl.h
+++ b/www/chromium/files/patch-chrome_browser_browser__process__impl.h
@@ -1,6 +1,6 @@
---- chrome/browser/browser_process_impl.h.orig 2017-03-09 20:04:27 UTC
+--- chrome/browser/browser_process_impl.h.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/browser_process_impl.h
-@@ -341,7 +341,7 @@ class BrowserProcessImpl : public Browse
+@@ -342,7 +342,7 @@ class BrowserProcessImpl : public Browse
std::unique_ptr<ChromeDeviceClient> device_client_;
diff --git a/www/chromium/files/patch-chrome_browser_browser__resources.grd b/www/chromium/files/patch-chrome_browser_browser__resources.grd
index b522c6c..979666f 100644
--- a/www/chromium/files/patch-chrome_browser_browser__resources.grd
+++ b/www/chromium/files/patch-chrome_browser_browser__resources.grd
@@ -1,6 +1,6 @@
---- chrome/browser/browser_resources.grd.orig 2017-03-09 20:04:27 UTC
+--- chrome/browser/browser_resources.grd.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/browser_resources.grd
-@@ -384,7 +384,7 @@
+@@ -383,7 +383,7 @@
<include name="IDR_ABOUT_VOICESEARCH_JS" file="resources\about_voicesearch.js" type="BINDATA" />
<include name="IDR_PLUGIN_DB_JSON" file="resources\plugin_metadata\plugins_chromeos.json" type="BINDATA" />
</if>
diff --git a/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc b/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc
index a29a6f4..793212a 100644
--- a/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc
+++ b/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc
@@ -1,6 +1,6 @@
---- chrome/browser/chrome_browser_main.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/chrome_browser_main.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/chrome_browser_main.cc
-@@ -180,7 +180,7 @@
+@@ -181,7 +181,7 @@
#include "chrome/browser/lifetime/application_lifetime.h"
#endif // defined(OS_ANDROID)
@@ -9,7 +9,38 @@
#include "chrome/browser/first_run/upgrade_util_linux.h"
#endif // defined(OS_LINUX) && !defined(OS_CHROMEOS)
-@@ -1173,11 +1173,11 @@ int ChromeBrowserMainParts::PreCreateThr
+@@ -276,7 +276,7 @@
+ #endif
+
+ #if defined(OS_WIN) || defined(OS_MACOSX) || \
+- (defined(OS_LINUX) && !defined(OS_CHROMEOS))
++ (defined(OS_LINUX) && !defined(OS_CHROMEOS) || defined(OS_BSD))
+ #include "chrome/browser/metrics/desktop_session_duration/desktop_session_duration_tracker.h"
+ #endif
+
+@@ -479,10 +479,10 @@ void RegisterComponentsForUpdate() {
+
+ #if !defined(OS_ANDROID)
+ RegisterPepperFlashComponent(cus);
+-#if !defined(OS_CHROMEOS)
++#if !defined(OS_CHROMEOS) && !defined(OS_BSD)
+ RegisterSwiftShaderComponent(cus);
+ RegisterWidevineCdmComponent(cus);
+-#endif // !defined(OS_CHROMEOS)
++#endif // !defined(OS_CHROMEOS) && !defined(OS_BSD)
+ #endif // !defined(OS_ANDROID)
+
+ #if !defined(DISABLE_NACL) && !defined(OS_ANDROID)
+@@ -764,7 +764,7 @@ void ChromeBrowserMainParts::SetupFieldT
+ field_trial_synchronizer_ = new FieldTrialSynchronizer();
+
+ #if defined(OS_WIN) || defined(OS_MACOSX) || \
+- (defined(OS_LINUX) && !defined(OS_CHROMEOS))
++ (defined(OS_LINUX) && !defined(OS_CHROMEOS) || defined(OS_BSD))
+ metrics::DesktopSessionDurationTracker::Initialize();
+ #endif
+
+@@ -1194,11 +1194,11 @@ int ChromeBrowserMainParts::PreCreateThr
}
#endif // !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
@@ -23,3 +54,12 @@
// Initialize tracking synchronizer system.
tracking_synchronizer_ = new metrics::TrackingSynchronizer(
+@@ -1387,7 +1387,7 @@ void ChromeBrowserMainParts::PreBrowserS
+
+ // Start the tab manager here so that we give the most amount of time for the
+ // other services to start up before we start adjusting the oom priority.
+-#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
++#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD)
+ g_browser_process->GetTabManager()->Start();
+ #endif
+
diff --git a/www/chromium/files/patch-chrome_browser_chrome__browser__main__linux.cc b/www/chromium/files/patch-chrome_browser_chrome__browser__main__linux.cc
index 887d6c5..0cbc57b 100644
--- a/www/chromium/files/patch-chrome_browser_chrome__browser__main__linux.cc
+++ b/www/chromium/files/patch-chrome_browser_chrome__browser__main__linux.cc
@@ -1,6 +1,6 @@
---- chrome/browser/chrome_browser_main_linux.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/chrome_browser_main_linux.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/chrome_browser_main_linux.cc
-@@ -75,12 +75,14 @@ void ChromeBrowserMainPartsLinux::PrePro
+@@ -77,12 +77,14 @@ void ChromeBrowserMainPartsLinux::PrePro
void ChromeBrowserMainPartsLinux::PostProfileInit() {
ChromeBrowserMainPartsPosix::PostProfileInit();
@@ -16,7 +16,7 @@
bluez::DBusThreadManagerLinux::Initialize();
bluez::BluezDBusManager::Initialize(
bluez::DBusThreadManagerLinux::Get()->GetSystemBus(), false);
-@@ -90,7 +92,7 @@ void ChromeBrowserMainPartsLinux::PostMa
+@@ -92,7 +94,7 @@ void ChromeBrowserMainPartsLinux::PostMa
}
void ChromeBrowserMainPartsLinux::PostDestroyThreads() {
diff --git a/www/chromium/files/patch-chrome_browser_chrome__browser__main__posix.cc b/www/chromium/files/patch-chrome_browser_chrome__browser__main__posix.cc
index b0a50e3..ee7a9e5 100644
--- a/www/chromium/files/patch-chrome_browser_chrome__browser__main__posix.cc
+++ b/www/chromium/files/patch-chrome_browser_chrome__browser__main__posix.cc
@@ -1,22 +1,11 @@
---- chrome/browser/chrome_browser_main_posix.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/chrome_browser_main_posix.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/chrome_browser_main_posix.cc
-@@ -275,6 +275,11 @@ void ChromeBrowserMainPartsPosix::PostMa
- g_pipe_pid = getpid();
- g_shutdown_pipe_read_fd = pipefd[0];
- g_shutdown_pipe_write_fd = pipefd[1];
-+#if defined(OS_FREEBSD)
-+ // PTHREAD_STACK_MIN causes chromium to crash under FreeBSD,
-+ // we request the default pthread stack size by specifying 0 here.
-+ const size_t kShutdownDetectorThreadStackSize = 0;
-+#else
- #if !defined(ADDRESS_SANITIZER) && !defined(KEEP_SHADOW_STACKS)
- const size_t kShutdownDetectorThreadStackSize = PTHREAD_STACK_MIN * 2;
- #else
-@@ -283,6 +288,7 @@ void ChromeBrowserMainPartsPosix::PostMa
- // size to avoid hitting the guard page.
- const size_t kShutdownDetectorThreadStackSize = PTHREAD_STACK_MIN * 4;
- #endif
-+#endif // OS_FREEBSD
- // TODO(viettrungluu,willchan): crbug.com/29675 - This currently leaks, so
- // if you change this, you'll probably need to change the suppression.
- if (!base::PlatformThread::CreateNonJoinable(
+@@ -134,7 +134,7 @@ void ChromeBrowserMainPartsPosix::PostMa
+ void ChromeBrowserMainPartsPosix::ShowMissingLocaleMessageBox() {
+ #if defined(OS_CHROMEOS)
+ NOTREACHED(); // Should not ever happen on ChromeOS.
+-#elif defined(OS_MACOSX)
++#elif defined(OS_MACOSX) || defined(OS_BSD)
+ // Not called on Mac because we load the locale files differently.
+ NOTREACHED();
+ #elif defined(USE_AURA)
diff --git a/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.cc b/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.cc
index ace3fd5..5afc8b6 100644
--- a/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.cc
+++ b/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.cc
@@ -1,16 +1,16 @@
---- chrome/browser/chrome_content_browser_client.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/chrome_content_browser_client.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/chrome_content_browser_client.cc
-@@ -242,7 +242,7 @@
- #include "chrome/browser/ui/browser_dialogs.h"
- #include "chromeos/chromeos_switches.h"
- #include "components/user_manager/user_manager.h"
+@@ -244,7 +244,7 @@
+ #include "mash/public/interfaces/launchable.mojom.h"
+ #include "services/service_manager/public/cpp/interface_factory.h"
+ #include "services/service_manager/public/interfaces/interface_provider_spec.mojom.h"
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
#include "chrome/browser/chrome_browser_main_linux.h"
#elif defined(OS_ANDROID)
- #include "chrome/browser/chrome_browser_main_android.h"
-@@ -258,7 +258,7 @@
- #include "chrome/browser/payments/payment_request_factory.h"
+ #include "chrome/browser/android/app_hooks.h"
+@@ -265,7 +265,7 @@
+ #include "chrome/browser/webshare/share_service_impl.h"
#endif
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
@@ -18,7 +18,7 @@
#include "base/debug/leak_annotations.h"
#include "components/crash/content/app/breakpad_linux.h"
#include "components/crash/content/browser/crash_handler_host_linux.h"
-@@ -281,7 +281,7 @@
+@@ -289,7 +289,7 @@
#include "chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h"
#endif
@@ -27,7 +27,7 @@
#include "chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.h"
#endif
-@@ -576,7 +576,7 @@ bool CertMatchesFilter(const net::X509Ce
+@@ -700,7 +700,7 @@ bool CertMatchesFilter(const net::X509Ce
return false;
}
@@ -36,7 +36,7 @@
breakpad::CrashHandlerHostLinux* CreateCrashHandlerHost(
const std::string& process_type) {
base::FilePath dumps_path;
-@@ -899,7 +899,7 @@ content::BrowserMainParts* ChromeContent
+@@ -1023,7 +1023,7 @@ content::BrowserMainParts* ChromeContent
main_parts = new ChromeBrowserMainPartsMac(parameters);
#elif defined(OS_CHROMEOS)
main_parts = new chromeos::ChromeBrowserMainPartsChromeos(parameters);
@@ -45,7 +45,7 @@
main_parts = new ChromeBrowserMainPartsLinux(parameters);
#elif defined(OS_ANDROID)
main_parts = new ChromeBrowserMainPartsAndroid(parameters);
-@@ -915,7 +915,7 @@ content::BrowserMainParts* ChromeContent
+@@ -1039,7 +1039,7 @@ content::BrowserMainParts* ChromeContent
// Construct additional browser parts. Stages are called in the order in
// which they are added.
#if defined(TOOLKIT_VIEWS)
@@ -53,8 +53,8 @@
+#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) && !defined(USE_OZONE)
main_parts->AddParts(new ChromeBrowserMainExtraPartsViewsLinux());
#else
- ChromeBrowserMainExtraPartsViews* extra_parts_views =
-@@ -1552,7 +1552,7 @@ void ChromeContentBrowserClient::AppendE
+ main_parts->AddParts(new ChromeBrowserMainExtraPartsViews());
+@@ -1680,7 +1680,7 @@ void ChromeContentBrowserClient::AppendE
command_line->AppendSwitchASCII(switches::kMetricsClientID,
client_info->client_id);
}
@@ -63,7 +63,7 @@
if (breakpad::IsCrashReporterEnabled()) {
std::string switch_value;
std::unique_ptr<metrics::ClientInfo> client_info =
-@@ -2808,7 +2808,7 @@ void ChromeContentBrowserClient::GetAddi
+@@ -2972,7 +2972,7 @@ void ChromeContentBrowserClient::GetAddi
}
}
@@ -72,7 +72,7 @@
void ChromeContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
const base::CommandLine& command_line,
int child_process_id,
-@@ -2837,7 +2837,7 @@ void ChromeContentBrowserClient::GetAddi
+@@ -3001,7 +3001,7 @@ void ChromeContentBrowserClient::GetAddi
}
#endif // defined(OS_ANDROID)
}
@@ -81,3 +81,12 @@
#if defined(OS_WIN)
base::string16 ChromeContentBrowserClient::GetAppContainerSidForSandboxType(
+@@ -3193,6 +3193,8 @@ void ChromeContentBrowserClient::Registe
+ base::Bind(&ForwardShareServiceRequest,
+ web_contents->GetJavaInterfaces()->GetWeakPtr()));
+ }
++#elif defined(OS_BSD)
++ NOTREACHED();
+ #else
+ if (AreExperimentalWebPlatformFeaturesEnabled() &&
+ base::FeatureList::IsEnabled(features::kWebPayments)) {
diff --git a/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.h b/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.h
index e670357..6767afa 100644
--- a/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.h
+++ b/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.h
@@ -1,6 +1,6 @@
---- chrome/browser/chrome_content_browser_client.h.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/chrome_content_browser_client.h.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/chrome_content_browser_client.h
-@@ -259,12 +259,12 @@ class ChromeContentBrowserClient : publi
+@@ -270,12 +270,12 @@ class ChromeContentBrowserClient : publi
content::RenderFrameHost* render_frame_host,
blink::WebPageVisibilityState* visibility_state) override;
diff --git a/www/chromium/files/patch-chrome_browser_defaults.cc b/www/chromium/files/patch-chrome_browser_defaults.cc
index b401b268..096ac2c 100644
--- a/www/chromium/files/patch-chrome_browser_defaults.cc
+++ b/www/chromium/files/patch-chrome_browser_defaults.cc
@@ -1,4 +1,4 @@
---- chrome/browser/defaults.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/defaults.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/defaults.cc
@@ -44,7 +44,7 @@ const bool kSyncAutoStarts = true;
const bool kSyncAutoStarts = false;
diff --git a/www/chromium/files/patch-chrome_browser_diagnostics_diagnostics__writer.cc b/www/chromium/files/patch-chrome_browser_diagnostics_diagnostics__writer.cc
index 78611ab..f3c2b2c 100644
--- a/www/chromium/files/patch-chrome_browser_diagnostics_diagnostics__writer.cc
+++ b/www/chromium/files/patch-chrome_browser_diagnostics_diagnostics__writer.cc
@@ -1,4 +1,4 @@
---- chrome/browser/diagnostics/diagnostics_writer.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/diagnostics/diagnostics_writer.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/diagnostics/diagnostics_writer.cc
@@ -263,7 +263,7 @@ bool DiagnosticsWriter::WriteResult(bool
console_->SetColor(color);
diff --git a/www/chromium/files/patch-chrome_browser_diagnostics_diagnostics__writer.h b/www/chromium/files/patch-chrome_browser_diagnostics_diagnostics__writer.h
index bc5fede..f882fdc 100644
--- a/www/chromium/files/patch-chrome_browser_diagnostics_diagnostics__writer.h
+++ b/www/chromium/files/patch-chrome_browser_diagnostics_diagnostics__writer.h
@@ -1,4 +1,4 @@
---- chrome/browser/diagnostics/diagnostics_writer.h.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/diagnostics/diagnostics_writer.h.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/diagnostics/diagnostics_writer.h
@@ -19,7 +19,7 @@ class DiagnosticsWriter : public Diagnos
public:
diff --git a/www/chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc b/www/chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc
index 8d0344a..472e818 100644
--- a/www/chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc
+++ b/www/chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc
@@ -1,4 +1,4 @@
---- chrome/browser/download/chrome_download_manager_delegate.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/download/chrome_download_manager_delegate.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/download/chrome_download_manager_delegate.cc
@@ -777,7 +777,7 @@ void ChromeDownloadManagerDelegate::OnDo
target_info->is_filetype_handled_safely)
diff --git a/www/chromium/files/patch-chrome_browser_download_download__commands.cc b/www/chromium/files/patch-chrome_browser_download_download__commands.cc
index f323903..60d885a 100644
--- a/www/chromium/files/patch-chrome_browser_download_download__commands.cc
+++ b/www/chromium/files/patch-chrome_browser_download_download__commands.cc
@@ -1,6 +1,6 @@
---- chrome/browser/download/download_commands.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/download/download_commands.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/download/download_commands.cc
-@@ -218,7 +218,7 @@ bool DownloadCommands::IsCommandChecked(
+@@ -219,7 +219,7 @@ bool DownloadCommands::IsCommandChecked(
return download_item_->GetOpenWhenComplete() ||
download_crx_util::IsExtensionDownload(*download_item_);
case ALWAYS_OPEN_TYPE:
@@ -9,7 +9,7 @@
if (CanOpenPdfInSystemViewer()) {
DownloadPrefs* prefs = DownloadPrefs::FromBrowserContext(
download_item_->GetBrowserContext());
-@@ -262,7 +262,7 @@ void DownloadCommands::ExecuteCommand(Co
+@@ -263,7 +263,7 @@ void DownloadCommands::ExecuteCommand(Co
bool is_checked = IsCommandChecked(ALWAYS_OPEN_TYPE);
DownloadPrefs* prefs = DownloadPrefs::FromBrowserContext(
download_item_->GetBrowserContext());
@@ -18,7 +18,7 @@
if (CanOpenPdfInSystemViewer()) {
prefs->SetShouldOpenPdfInSystemReader(!is_checked);
DownloadItemModel(download_item_)
-@@ -375,7 +375,7 @@ Browser* DownloadCommands::GetBrowser()
+@@ -376,7 +376,7 @@ Browser* DownloadCommands::GetBrowser()
return browser_displayer.browser();
}
@@ -27,7 +27,7 @@
bool DownloadCommands::IsDownloadPdf() const {
base::FilePath path = download_item_->GetTargetFilePath();
return path.MatchesExtension(FILE_PATH_LITERAL(".pdf"));
-@@ -392,7 +392,7 @@ bool DownloadCommands::CanOpenPdfInSyste
+@@ -393,7 +393,7 @@ bool DownloadCommands::CanOpenPdfInSyste
return IsDownloadPdf() &&
(IsAdobeReaderDefaultPDFViewer() ? is_adobe_pdf_reader_up_to_date
: true);
diff --git a/www/chromium/files/patch-chrome_browser_download_download__commands.h b/www/chromium/files/patch-chrome_browser_download_download__commands.h
index 9874814..dc8c7f4 100644
--- a/www/chromium/files/patch-chrome_browser_download_download__commands.h
+++ b/www/chromium/files/patch-chrome_browser_download_download__commands.h
@@ -1,4 +1,4 @@
---- chrome/browser/download/download_commands.h.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/download/download_commands.h.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/download/download_commands.h
@@ -43,7 +43,8 @@ class DownloadCommands {
void ExecuteCommand(Command command);
diff --git a/www/chromium/files/patch-chrome_browser_download_download__prefs.cc b/www/chromium/files/patch-chrome_browser_download_download__prefs.cc
index e765972..e5fa2f1 100644
--- a/www/chromium/files/patch-chrome_browser_download_download__prefs.cc
+++ b/www/chromium/files/patch-chrome_browser_download_download__prefs.cc
@@ -1,4 +1,4 @@
---- chrome/browser/download/download_prefs.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/download/download_prefs.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/download/download_prefs.cc
@@ -56,7 +56,7 @@ namespace {
// Consider downloads 'dangerous' if they go to the home directory on Linux and
diff --git a/www/chromium/files/patch-chrome_browser_download_download__prefs.h b/www/chromium/files/patch-chrome_browser_download_download__prefs.h
index 1a45355..fb35df5 100644
--- a/www/chromium/files/patch-chrome_browser_download_download__prefs.h
+++ b/www/chromium/files/patch-chrome_browser_download_download__prefs.h
@@ -1,4 +1,4 @@
---- chrome/browser/download/download_prefs.h.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/download/download_prefs.h.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/download/download_prefs.h
@@ -78,7 +78,7 @@ class DownloadPrefs {
// Disables auto-open based on file extension.
diff --git a/www/chromium/files/patch-chrome_browser_download_download__query.cc b/www/chromium/files/patch-chrome_browser_download_download__query.cc
index d4c3337..9bc543b 100644
--- a/www/chromium/files/patch-chrome_browser_download_download__query.cc
+++ b/www/chromium/files/patch-chrome_browser_download_download__query.cc
@@ -1,4 +1,4 @@
---- chrome/browser/download/download_query.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/download/download_query.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/download/download_query.cc
@@ -27,7 +27,11 @@
#include "components/url_formatter/url_formatter.h"
diff --git a/www/chromium/files/patch-chrome_browser_download_download__shelf__context__menu.cc b/www/chromium/files/patch-chrome_browser_download_download__shelf__context__menu.cc
index 2228ce7..e06e08c 100644
--- a/www/chromium/files/patch-chrome_browser_download_download__shelf__context__menu.cc
+++ b/www/chromium/files/patch-chrome_browser_download_download__shelf__context__menu.cc
@@ -1,4 +1,4 @@
---- chrome/browser/download/download_shelf_context_menu.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/download/download_shelf_context_menu.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/download/download_shelf_context_menu.cc
@@ -127,7 +127,7 @@ base::string16 DownloadShelfContextMenu:
: IDS_DOWNLOAD_MENU_PLATFORM_OPEN_ALWAYS;
diff --git a/www/chromium/files/patch-chrome_browser_extensions_BUILD.gn b/www/chromium/files/patch-chrome_browser_extensions_BUILD.gn
index 120cc14..1b121b4 100644
--- a/www/chromium/files/patch-chrome_browser_extensions_BUILD.gn
+++ b/www/chromium/files/patch-chrome_browser_extensions_BUILD.gn
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/BUILD.gn.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/extensions/BUILD.gn.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/extensions/BUILD.gn
-@@ -1034,7 +1034,7 @@ static_library("extensions") {
+@@ -1040,7 +1040,7 @@ static_library("extensions") {
sources -= [ "global_shortcut_listener_ozone.cc" ]
}
@@ -9,7 +9,7 @@
deps += [ "//build/linux:fontconfig" ]
if (use_dbus) {
-@@ -1127,6 +1127,12 @@ static_library("extensions") {
+@@ -1133,6 +1133,12 @@ static_library("extensions") {
defines += [ "ENABLE_HOTWORDING" ]
}
@@ -21,4 +21,4 @@
+
if (enable_service_discovery) {
sources += [
- "api/gcd_private/gcd_private_api.cc",
+ "api/mdns/dns_sd_delegate.cc",
diff --git a/www/chromium/files/patch-chrome_browser_extensions_activity__log_activity__log.cc b/www/chromium/files/patch-chrome_browser_extensions_activity__log_activity__log.cc
index 8f26d7d..7de12bc 100644
--- a/www/chromium/files/patch-chrome_browser_extensions_activity__log_activity__log.cc
+++ b/www/chromium/files/patch-chrome_browser_extensions_activity__log_activity__log.cc
@@ -1,4 +1,4 @@
---- chrome/browser/extensions/activity_log/activity_log.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/extensions/activity_log/activity_log.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/extensions/activity_log/activity_log.cc
@@ -48,7 +48,11 @@
#include "extensions/common/extension.h"
diff --git a/www/chromium/files/patch-chrome_browser_extensions_api_image__writer__private_image__writer__private__api.cc b/www/chromium/files/patch-chrome_browser_extensions_api_image__writer__private_image__writer__private__api.cc
index 97f89bbf..ea797b9 100644
--- a/www/chromium/files/patch-chrome_browser_extensions_api_image__writer__private_image__writer__private__api.cc
+++ b/www/chromium/files/patch-chrome_browser_extensions_api_image__writer__private_image__writer__private__api.cc
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/extensions/api/image_writer_private/image_writer_private_api.cc
-@@ -166,10 +166,12 @@ ImageWriterPrivateListRemovableStorageDe
+@@ -167,10 +167,12 @@ ImageWriterPrivateListRemovableStorageDe
}
bool ImageWriterPrivateListRemovableStorageDevicesFunction::RunAsync() {
diff --git a/www/chromium/files/patch-chrome_browser_extensions_api_input__ime_input__ime__api.h b/www/chromium/files/patch-chrome_browser_extensions_api_input__ime_input__ime__api.h
index 0b97700..2983ece 100644
--- a/www/chromium/files/patch-chrome_browser_extensions_api_input__ime_input__ime__api.h
+++ b/www/chromium/files/patch-chrome_browser_extensions_api_input__ime_input__ime__api.h
@@ -1,4 +1,4 @@
---- chrome/browser/extensions/api/input_ime/input_ime_api.h.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/extensions/api/input_ime/input_ime_api.h.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/extensions/api/input_ime/input_ime_api.h
@@ -28,7 +28,7 @@
diff --git a/www/chromium/files/patch-chrome_browser_extensions_api_messaging_message__service.cc b/www/chromium/files/patch-chrome_browser_extensions_api_messaging_message__service.cc
index 985ad9d..03706ca 100644
--- a/www/chromium/files/patch-chrome_browser_extensions_api_messaging_message__service.cc
+++ b/www/chromium/files/patch-chrome_browser_extensions_api_messaging_message__service.cc
@@ -1,4 +1,4 @@
---- chrome/browser/extensions/api/messaging/message_service.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/extensions/api/messaging/message_service.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/extensions/api/messaging/message_service.cc
@@ -106,7 +106,7 @@ MessageService::PolicyPermission Message
@@ -18,7 +18,7 @@
content::WebContents* web_contents =
content::WebContents::FromRenderFrameHost(source);
ExtensionWebContentsObserver* extension_web_contents_observer =
-@@ -447,12 +447,12 @@ void MessageService::OpenChannelToNative
+@@ -446,12 +446,12 @@ void MessageService::OpenChannelToNative
channel->opener->IncrementLazyKeepaliveCount();
AddChannel(std::move(channel), receiver_port_id);
diff --git a/www/chromium/files/patch-chrome_browser_extensions_api_music__manager__private_device__id__linux.cc b/www/chromium/files/patch-chrome_browser_extensions_api_music__manager__private_device__id__linux.cc
index 0a8997a..f8ed510 100644
--- a/www/chromium/files/patch-chrome_browser_extensions_api_music__manager__private_device__id__linux.cc
+++ b/www/chromium/files/patch-chrome_browser_extensions_api_music__manager__private_device__id__linux.cc
@@ -1,4 +1,4 @@
---- chrome/browser/extensions/api/music_manager_private/device_id_linux.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/extensions/api/music_manager_private/device_id_linux.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/extensions/api/music_manager_private/device_id_linux.cc
@@ -4,6 +4,10 @@
diff --git a/www/chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc b/www/chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc
index 15cc6ff..9c87dd5 100644
--- a/www/chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc
+++ b/www/chromium/files/patch-chrome_browser_extensions_api_settings__private_prefs__util.cc
@@ -1,4 +1,4 @@
---- chrome/browser/extensions/api/settings_private/prefs_util.cc.orig 2017-02-02 02:02:49 UTC
+--- chrome/browser/extensions/api/settings_private/prefs_util.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -83,7 +83,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
settings_private::PrefType::PREF_TYPE_BOOLEAN;
diff --git a/www/chromium/files/patch-chrome_browser_extensions_bookmark__app__helper.cc b/www/chromium/files/patch-chrome_browser_extensions_bookmark__app__helper.cc
index a1464d3..9a5eb09 100644
--- a/www/chromium/files/patch-chrome_browser_extensions_bookmark__app__helper.cc
+++ b/www/chromium/files/patch-chrome_browser_extensions_bookmark__app__helper.cc
@@ -1,6 +1,6 @@
---- chrome/browser/extensions/bookmark_app_helper.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/extensions/bookmark_app_helper.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/extensions/bookmark_app_helper.cc
-@@ -716,7 +716,7 @@ void BookmarkAppHelper::FinishInstallati
+@@ -721,7 +721,7 @@ void BookmarkAppHelper::FinishInstallati
#if !defined(OS_MACOSX)
#if !defined(USE_ASH)
web_app::ShortcutLocations creation_locations;
diff --git a/www/chromium/files/patch-chrome_browser_extensions_browser__context__keyed__service__factories.cc b/www/chromium/files/patch-chrome_browser_extensions_browser__context__keyed__service__factories.cc
index 9eb4d7b..6ec1bd9 100644
--- a/www/chromium/files/patch-chrome_browser_extensions_browser__context__keyed__service__factories.cc
+++ b/www/chromium/files/patch-chrome_browser_extensions_browser__context__keyed__service__factories.cc
@@ -1,4 +1,4 @@
---- chrome/browser/extensions/browser_context_keyed_service_factories.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/extensions/browser_context_keyed_service_factories.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/extensions/browser_context_keyed_service_factories.cc
@@ -63,7 +63,7 @@
#include "chrome/browser/chromeos/extensions/media_player_api.h"
@@ -9,7 +9,7 @@
#include "chrome/browser/extensions/api/input_ime/input_ime_api.h"
#endif
-@@ -111,7 +111,7 @@ void EnsureBrowserContextKeyedServiceFac
+@@ -107,7 +107,7 @@ void EnsureBrowserContextKeyedServiceFac
#if defined(OS_CHROMEOS)
extensions::InputImeAPI::GetFactoryInstance();
extensions::InputMethodAPI::GetFactoryInstance();
diff --git a/www/chromium/files/patch-chrome_browser_extensions_external__provider__impl.cc b/www/chromium/files/patch-chrome_browser_extensions_external__provider__impl.cc
index 70f834f..253b102 100644
--- a/www/chromium/files/patch-chrome_browser_extensions_external__provider__impl.cc
+++ b/www/chromium/files/patch-chrome_browser_extensions_external__provider__impl.cc
@@ -1,4 +1,4 @@
---- chrome/browser/extensions/external_provider_impl.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/extensions/external_provider_impl.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/extensions/external_provider_impl.cc
@@ -638,7 +638,7 @@ void ExternalProviderImpl::CreateExterna
Manifest::EXTERNAL_PREF, Manifest::EXTERNAL_PREF_DOWNLOAD,
diff --git a/www/chromium/files/patch-chrome_browser_first__run_first__run__internal__posix.cc b/www/chromium/files/patch-chrome_browser_first__run_first__run__internal__posix.cc
index 0836059..b2b75f5 100644
--- a/www/chromium/files/patch-chrome_browser_first__run_first__run__internal__posix.cc
+++ b/www/chromium/files/patch-chrome_browser_first__run_first__run__internal__posix.cc
@@ -1,4 +1,4 @@
---- chrome/browser/first_run/first_run_internal_posix.cc.orig 2017-02-02 02:02:49 UTC
+--- chrome/browser/first_run/first_run_internal_posix.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/first_run/first_run_internal_posix.cc
@@ -24,7 +24,7 @@ namespace first_run {
namespace internal {
diff --git a/www/chromium/files/patch-chrome_browser_gpu_gl__string__manager.cc b/www/chromium/files/patch-chrome_browser_gpu_gl__string__manager.cc
index 756b60a..8cd5dbb 100644
--- a/www/chromium/files/patch-chrome_browser_gpu_gl__string__manager.cc
+++ b/www/chromium/files/patch-chrome_browser_gpu_gl__string__manager.cc
@@ -1,4 +1,4 @@
---- chrome/browser/gpu/gl_string_manager.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/gpu/gl_string_manager.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/gpu/gl_string_manager.cc
@@ -33,7 +33,7 @@ GLStringManager::~GLStringManager() {
diff --git a/www/chromium/files/patch-chrome_browser_gpu_gpu__feature__checker.cc b/www/chromium/files/patch-chrome_browser_gpu_gpu__feature__checker.cc
deleted file mode 100644
index 3de56b2..0000000
--- a/www/chromium/files/patch-chrome_browser_gpu_gpu__feature__checker.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/gpu/gpu_feature_checker.cc.orig 2017-01-26 00:49:08 UTC
-+++ chrome/browser/gpu/gpu_feature_checker.cc
-@@ -34,7 +34,7 @@ void GPUFeatureChecker::CheckGPUFeatureA
- CHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
-
- bool finalized = true;
--#if defined(OS_LINUX)
-+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
- // On Windows and Mac, so far we can always make the final WebGL blacklisting
- // decision based on partial GPU info; on Linux, we need to launch the GPU
- // process to collect full GPU info and make the final decision.
diff --git a/www/chromium/files/patch-chrome_browser_interstitials_chrome__controller__client.cc b/www/chromium/files/patch-chrome_browser_interstitials_chrome__controller__client.cc
index 144a08f..0a8e0dd 100644
--- a/www/chromium/files/patch-chrome_browser_interstitials_chrome__controller__client.cc
+++ b/www/chromium/files/patch-chrome_browser_interstitials_chrome__controller__client.cc
@@ -1,4 +1,4 @@
---- chrome/browser/interstitials/chrome_controller_client.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/interstitials/chrome_controller_client.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/interstitials/chrome_controller_client.cc
@@ -46,7 +46,7 @@ void LaunchDateAndTimeSettingsOnFileThre
#if defined(OS_ANDROID)
diff --git a/www/chromium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc b/www/chromium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc
index 01814d2..b768a3c 100644
--- a/www/chromium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc
+++ b/www/chromium/files/patch-chrome_browser_media__galleries_fileapi_mtp__device__map__service.cc
@@ -1,4 +1,4 @@
---- chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc
@@ -37,10 +37,12 @@ void MTPDeviceMapService::RegisterMTPFil
// Note that this initializes the delegate asynchronously, but since
diff --git a/www/chromium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc b/www/chromium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc
index 5fb0f23..0806713 100644
--- a/www/chromium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc
+++ b/www/chromium/files/patch-chrome_browser_media__galleries_media__file__system__registry.cc
@@ -1,6 +1,6 @@
---- chrome/browser/media_galleries/media_file_system_registry.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/media_galleries/media_file_system_registry.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/media_galleries/media_file_system_registry.cc
-@@ -757,7 +757,10 @@ class MediaFileSystemRegistry::MediaFile
+@@ -758,7 +758,10 @@ class MediaFileSystemRegistry::MediaFile
// Constructor in 'private' section because depends on private class definition.
MediaFileSystemRegistry::MediaFileSystemRegistry()
: file_system_context_(new MediaFileSystemContextImpl) {
diff --git a/www/chromium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc b/www/chromium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc
index 55f04e8..4ad76ac 100644
--- a/www/chromium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc
+++ b/www/chromium/files/patch-chrome_browser_media_webrtc_webrtc__log__uploader.cc
@@ -1,4 +1,4 @@
---- chrome/browser/media/webrtc/webrtc_log_uploader.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/media/webrtc/webrtc_log_uploader.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/media/webrtc/webrtc_log_uploader.cc
@@ -343,6 +343,8 @@ void WebRtcLogUploader::SetupMultipart(
const char product[] = "Chrome_Android";
diff --git a/www/chromium/files/patch-chrome_browser_memory__details.cc b/www/chromium/files/patch-chrome_browser_memory__details.cc
index c9717c5..760e08c 100644
--- a/www/chromium/files/patch-chrome_browser_memory__details.cc
+++ b/www/chromium/files/patch-chrome_browser_memory__details.cc
@@ -1,6 +1,6 @@
---- chrome/browser/memory_details.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/memory_details.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/memory_details.cc
-@@ -33,7 +33,7 @@
+@@ -35,7 +35,7 @@
#include "extensions/features/features.h"
#include "ui/base/l10n/l10n_util.h"
@@ -9,7 +9,7 @@
#include "content/public/browser/zygote_host_linux.h"
#endif
-@@ -335,7 +335,7 @@ void MemoryDetails::CollectChildInfoOnUI
+@@ -337,7 +337,7 @@ void MemoryDetails::CollectChildInfoOnUI
process.titles.push_back(title);
}
diff --git a/www/chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc b/www/chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc
index d2e7aa5..ddb0520 100644
--- a/www/chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc
+++ b/www/chromium/files/patch-chrome_browser_metrics_chrome__browser__main__extra__parts__metrics.cc
@@ -1,4 +1,4 @@
---- chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc
@@ -42,12 +42,14 @@
diff --git a/www/chromium/files/patch-chrome_browser_net_async__dns__field__trial.cc b/www/chromium/files/patch-chrome_browser_net_async__dns__field__trial.cc
index 6858ec0..d3bfbb0 100644
--- a/www/chromium/files/patch-chrome_browser_net_async__dns__field__trial.cc
+++ b/www/chromium/files/patch-chrome_browser_net_async__dns__field__trial.cc
@@ -1,4 +1,4 @@
---- chrome/browser/net/async_dns_field_trial.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/net/async_dns_field_trial.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/net/async_dns_field_trial.cc
@@ -61,7 +61,7 @@ void HistogramPrefSource(PrefSource sour
} // namespace
diff --git a/www/chromium/files/patch-chrome_browser_notifications_message__center__notification__manager.cc b/www/chromium/files/patch-chrome_browser_notifications_message__center__notification__manager.cc
index cda191e..d96e823 100644
--- a/www/chromium/files/patch-chrome_browser_notifications_message__center__notification__manager.cc
+++ b/www/chromium/files/patch-chrome_browser_notifications_message__center__notification__manager.cc
@@ -1,6 +1,6 @@
---- chrome/browser/notifications/message_center_notification_manager.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/notifications/message_center_notification_manager.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/notifications/message_center_notification_manager.cc
-@@ -66,7 +66,7 @@ MessageCenterNotificationManager::Messag
+@@ -63,7 +63,7 @@ MessageCenterNotificationManager::Messag
base::MakeUnique<FullscreenNotificationBlocker>(message_center));
#if defined(OS_WIN) || defined(OS_MACOSX) \
diff --git a/www/chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc b/www/chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc
index 93d46b9..beef5ef 100644
--- a/www/chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc
+++ b/www/chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc
@@ -1,9 +1,9 @@
---- chrome/browser/password_manager/chrome_password_manager_client.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/password_manager/chrome_password_manager_client.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/password_manager/chrome_password_manager_client.cc
-@@ -57,7 +57,11 @@
- #include "content/public/common/origin_util.h"
- #include "google_apis/gaia/gaia_urls.h"
+@@ -62,7 +62,11 @@
#include "net/base/url_util.h"
+ #include "net/http/transport_security_state.h"
+ #include "net/url_request/url_request_context.h"
+#if defined(OS_BSD)
+#include <re2/re2.h>
+#else
diff --git a/www/chromium/files/patch-chrome_browser_platform__util.h b/www/chromium/files/patch-chrome_browser_platform__util.h
index 4605835..89545d2 100644
--- a/www/chromium/files/patch-chrome_browser_platform__util.h
+++ b/www/chromium/files/patch-chrome_browser_platform__util.h
@@ -1,4 +1,4 @@
---- chrome/browser/platform_util.h.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/platform_util.h.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/platform_util.h
@@ -40,7 +40,7 @@ enum OpenOperationResult {
enum OpenItemType {
diff --git a/www/chromium/files/patch-chrome_browser_plugins_plugins__resource__service.cc b/www/chromium/files/patch-chrome_browser_plugins_plugins__resource__service.cc
index b93d22a..713560d 100644
--- a/www/chromium/files/patch-chrome_browser_plugins_plugins__resource__service.cc
+++ b/www/chromium/files/patch-chrome_browser_plugins_plugins__resource__service.cc
@@ -1,4 +1,4 @@
---- chrome/browser/plugins/plugins_resource_service.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/plugins/plugins_resource_service.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/plugins/plugins_resource_service.cc
@@ -31,7 +31,7 @@ GURL GetPluginsServerURL() {
std::string filename;
diff --git a/www/chromium/files/patch-chrome_browser_policy_policy__prefs__browsertest.cc b/www/chromium/files/patch-chrome_browser_policy_policy__prefs__browsertest.cc
index effd627..1b61eb9 100644
--- a/www/chromium/files/patch-chrome_browser_policy_policy__prefs__browsertest.cc
+++ b/www/chromium/files/patch-chrome_browser_policy_policy__prefs__browsertest.cc
@@ -1,4 +1,4 @@
---- chrome/browser/policy/policy_prefs_browsertest.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/policy/policy_prefs_browsertest.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/policy/policy_prefs_browsertest.cc
@@ -180,6 +180,8 @@ class PolicyTestCase {
const std::string os("chromeos");
diff --git a/www/chromium/files/patch-chrome_browser_process__singleton__posix.cc b/www/chromium/files/patch-chrome_browser_process__singleton__posix.cc
index e4f62ae..f6752e3 100644
--- a/www/chromium/files/patch-chrome_browser_process__singleton__posix.cc
+++ b/www/chromium/files/patch-chrome_browser_process__singleton__posix.cc
@@ -1,4 +1,4 @@
---- chrome/browser/process_singleton_posix.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/process_singleton_posix.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/process_singleton_posix.cc
@@ -93,11 +93,11 @@
#include "net/base/network_interfaces.h"
diff --git a/www/chromium/files/patch-chrome_browser_profiles_profile__impl__io__data.cc b/www/chromium/files/patch-chrome_browser_profiles_profile__impl__io__data.cc
index ae716c0..ab79228 100644
--- a/www/chromium/files/patch-chrome_browser_profiles_profile__impl__io__data.cc
+++ b/www/chromium/files/patch-chrome_browser_profiles_profile__impl__io__data.cc
@@ -1,6 +1,6 @@
---- chrome/browser/profiles/profile_impl_io_data.cc.orig 2017-01-26 00:49:08 UTC
+--- chrome/browser/profiles/profile_impl_io_data.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/profiles/profile_impl_io_data.cc
-@@ -104,7 +104,7 @@ net::BackendType ChooseCacheBackendType(
+@@ -103,7 +103,7 @@ net::BackendType ChooseCacheBackendType(
}
#endif // #if !defined(OS_ANDROID)
diff --git a/www/chromium/files/patch-chrome_browser_renderer__context__menu_render__view__context__menu.cc b/www/chromium/files/patch-chrome_browser_renderer__context__menu_render__view__context__menu.cc
index 4e8ebd4..139aab7 100644
--- a/www/chromium/files/patch-chrome_browser_renderer__context__menu_render__view__context__menu.cc
+++ b/www/chromium/files/patch-chrome_browser_renderer__context__menu_render__view__context__menu.cc
@@ -1,6 +1,6 @@
---- chrome/browser/renderer_context_menu/render_view_context_menu.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/renderer_context_menu/render_view_context_menu.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/renderer_context_menu/render_view_context_menu.cc
-@@ -1389,7 +1389,7 @@ void RenderViewContextMenu::AppendEditab
+@@ -1390,7 +1390,7 @@ void RenderViewContextMenu::AppendEditab
// 'Undo' and 'Redo' for text input with no suggestions and no text selected.
// We make an exception for OS X as context clicking will select the closest
// word. In this case both items are always shown.
@@ -9,7 +9,7 @@
menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_UNDO,
IDS_CONTENT_CONTEXT_UNDO);
menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_REDO,
-@@ -1427,7 +1427,7 @@ void RenderViewContextMenu::AppendLangua
+@@ -1428,7 +1428,7 @@ void RenderViewContextMenu::AppendLangua
if (!use_spelling)
return;
@@ -18,7 +18,7 @@
menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_LANGUAGE_SETTINGS,
IDS_CONTENT_CONTEXT_LANGUAGE_SETTINGS);
#else
-@@ -1665,7 +1665,7 @@ bool RenderViewContextMenu::IsCommandIdE
+@@ -1666,7 +1666,7 @@ bool RenderViewContextMenu::IsCommandIdE
case IDC_CHECK_SPELLING_WHILE_TYPING:
return prefs->GetBoolean(spellcheck::prefs::kEnableSpellcheck);
diff --git a/www/chromium/files/patch-chrome_browser_renderer__preferences__util.cc b/www/chromium/files/patch-chrome_browser_renderer__preferences__util.cc
index 0ecb4fe..e7ba736 100644
--- a/www/chromium/files/patch-chrome_browser_renderer__preferences__util.cc
+++ b/www/chromium/files/patch-chrome_browser_renderer__preferences__util.cc
@@ -1,4 +1,4 @@
---- chrome/browser/renderer_preferences_util.cc.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/renderer_preferences_util.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/renderer_preferences_util.cc
@@ -20,7 +20,7 @@
#include "third_party/WebKit/public/public_features.h"
diff --git a/www/chromium/files/patch-chrome_browser_resources_safe__browsing_BUILD.gn b/www/chromium/files/patch-chrome_browser_resources_safe__browsing_BUILD.gn
index 5935415..bfe4f2c 100644
--- a/www/chromium/files/patch-chrome_browser_resources_safe__browsing_BUILD.gn
+++ b/www/chromium/files/patch-chrome_browser_resources_safe__browsing_BUILD.gn
@@ -1,4 +1,4 @@
---- chrome/browser/resources/safe_browsing/BUILD.gn.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/resources/safe_browsing/BUILD.gn.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/resources/safe_browsing/BUILD.gn
@@ -29,6 +29,8 @@ action("make_file_types_protobuf") {
target_arch = "mac"
diff --git a/www/chromium/files/patch-chrome_browser_resources_safe__browsing_gen__file__type__proto.py b/www/chromium/files/patch-chrome_browser_resources_safe__browsing_gen__file__type__proto.py
index d82e3a8..45859bf 100644
--- a/www/chromium/files/patch-chrome_browser_resources_safe__browsing_gen__file__type__proto.py
+++ b/www/chromium/files/patch-chrome_browser_resources_safe__browsing_gen__file__type__proto.py
@@ -1,4 +1,4 @@
---- chrome/browser/resources/safe_browsing/gen_file_type_proto.py.orig 2017-03-09 20:04:28 UTC
+--- chrome/browser/resources/safe_browsing/gen_file_type_proto.py.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/resources/safe_browsing/gen_file_type_proto.py
@@ -31,6 +31,7 @@ def PlatformTypes():
"android": download_file_types_pb2.DownloadFileType.PLATFORM_ANDROID,
diff --git a/www/chromium/files/patch-chrome_browser_resources_vulcanize.gni b/www/chromium/files/patch-chrome_browser_resources_vulcanize.gni
new file mode 100644
index 0000000..13acbf1
--- /dev/null
+++ b/www/chromium/files/patch-chrome_browser_resources_vulcanize.gni
@@ -0,0 +1,11 @@
+--- chrome/browser/resources/vulcanize.gni.orig 2017-04-19 19:06:30 UTC
++++ chrome/browser/resources/vulcanize.gni
+@@ -13,7 +13,7 @@ template("node") {
+ "//third_party/node/node_modules.tar.gz.sha1",
+ ]
+
+- if (is_linux) {
++ if (is_linux || is_bsd) {
+ inputs += [ "//third_party/node/linux/node-linux-x64.tar.gz.sha1" ]
+ }
+ if (is_win) {
diff --git a/www/chromium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__handler__util.cc b/www/chromium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__handler__util.cc
index 390c219..6bb5ded 100644
--- a/www/chromium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__handler__util.cc
+++ b/www/chromium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__handler__util.cc
@@ -1,4 +1,4 @@
---- chrome/browser/safe_browsing/incident_reporting/incident_handler_util.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/safe_browsing/incident_reporting/incident_handler_util.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/safe_browsing/incident_reporting/incident_handler_util.cc
@@ -8,7 +8,12 @@
diff --git a/www/chromium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__reporting__service.cc b/www/chromium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__reporting__service.cc
new file mode 100644
index 0000000..84cc485
--- /dev/null
+++ b/www/chromium/files/patch-chrome_browser_safe__browsing_incident__reporting_incident__reporting__service.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc.orig 2017-04-19 19:06:30 UTC
++++ chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
+@@ -720,7 +720,7 @@ void IncidentReportingService::OnEnviron
+ environment_collection_pending_ = false;
+
+ // CurrentProcessInfo::CreationTime() is missing on some platforms.
+-#if defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_LINUX)
++#if defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD)
+ base::TimeDelta uptime =
+ first_incident_time_ - base::CurrentProcessInfo::CreationTime();
+ environment_data->mutable_process()->set_uptime_msec(uptime.InMilliseconds());
diff --git a/www/chromium/files/patch-chrome_browser_safe__browsing_permission__reporter.cc b/www/chromium/files/patch-chrome_browser_safe__browsing_permission__reporter.cc
index c77519f..34f7084 100644
--- a/www/chromium/files/patch-chrome_browser_safe__browsing_permission__reporter.cc
+++ b/www/chromium/files/patch-chrome_browser_safe__browsing_permission__reporter.cc
@@ -1,6 +1,6 @@
---- chrome/browser/safe_browsing/permission_reporter.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/safe_browsing/permission_reporter.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/safe_browsing/permission_reporter.cc
-@@ -193,7 +193,7 @@ bool PermissionReporter::BuildReport(con
+@@ -188,7 +188,7 @@ bool PermissionReporter::BuildReport(con
#if defined(OS_ANDROID)
report.set_platform_type(PermissionReport::ANDROID_PLATFORM);
#elif defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_CHROMEOS) || \
diff --git a/www/chromium/files/patch-chrome_browser_search_local__files__ntp__source.cc b/www/chromium/files/patch-chrome_browser_search_local__files__ntp__source.cc
index 8a5b8c2..231ba4d 100644
--- a/www/chromium/files/patch-chrome_browser_search_local__files__ntp__source.cc
+++ b/www/chromium/files/patch-chrome_browser_search_local__files__ntp__source.cc
@@ -1,8 +1,8 @@
---- chrome/browser/search/local_files_ntp_source.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/search/local_files_ntp_source.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/search/local_files_ntp_source.cc
@@ -20,8 +20,13 @@
+ #include "build/build_config.h"
#include "chrome/common/url_constants.h"
- #include "content/public/browser/browser_thread.h"
#include "content/public/browser/url_data_source.h"
+#if defined(OS_BSD)
+#include <re2/re2.h>
diff --git a/www/chromium/files/patch-chrome_browser_speech_tts__controller__impl.cc b/www/chromium/files/patch-chrome_browser_speech_tts__controller__impl.cc
index aaa5325..d8a55b4 100644
--- a/www/chromium/files/patch-chrome_browser_speech_tts__controller__impl.cc
+++ b/www/chromium/files/patch-chrome_browser_speech_tts__controller__impl.cc
@@ -1,4 +1,4 @@
---- chrome/browser/speech/tts_controller_impl.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/speech/tts_controller_impl.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/speech/tts_controller_impl.cc
@@ -347,9 +347,13 @@ int TtsControllerImpl::QueueSize() {
}
diff --git a/www/chromium/files/patch-chrome_browser_sync_chrome__sync__client.cc b/www/chromium/files/patch-chrome_browser_sync_chrome__sync__client.cc
index 64d3636..fcfd327 100644
--- a/www/chromium/files/patch-chrome_browser_sync_chrome__sync__client.cc
+++ b/www/chromium/files/patch-chrome_browser_sync_chrome__sync__client.cc
@@ -1,6 +1,6 @@
---- chrome/browser/sync/chrome_sync_client.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/sync/chrome_sync_client.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/sync/chrome_sync_client.cc
-@@ -592,7 +592,7 @@ void ChromeSyncClient::RegisterDesktopDa
+@@ -639,7 +639,7 @@ void ChromeSyncClient::RegisterDesktopDa
}
#endif
diff --git a/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group.cc b/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group.cc
index 1ba6821..8d63165 100644
--- a/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group.cc
+++ b/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group.cc
@@ -1,4 +1,4 @@
---- chrome/browser/task_manager/sampling/task_group.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/task_manager/sampling/task_group.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/task_manager/sampling/task_group.cc
@@ -28,9 +28,9 @@ const int kBackgroundRefreshTypesMask =
#if defined(OS_WIN)
@@ -9,11 +9,11 @@
REFRESH_TYPE_FD_COUNT |
-#endif // defined(OS_LINUX)
+#endif // defined(OS_LINUX) || defined(OS_BSD)
- REFRESH_TYPE_PRIORITY;
-
- #if defined(OS_WIN)
-@@ -92,9 +92,9 @@ TaskGroup::TaskGroup(
- nacl_debug_stub_port_(-1),
+ #if !defined(DISABLE_NACL)
+ REFRESH_TYPE_NACL |
+ #endif // !defined(DISABLE_NACL)
+@@ -102,9 +102,9 @@ TaskGroup::TaskGroup(
+ nacl_debug_stub_port_(nacl::kGdbDebugStubPortUnknown),
#endif // !defined(DISABLE_NACL)
idle_wakeups_per_second_(-1),
-#if defined(OS_LINUX)
@@ -24,7 +24,7 @@
gpu_memory_has_duplicates_(false),
is_backgrounded_(false),
weak_ptr_factory_(this) {
-@@ -107,10 +107,10 @@ TaskGroup::TaskGroup(
+@@ -117,10 +117,10 @@ TaskGroup::TaskGroup(
weak_ptr_factory_.GetWeakPtr()),
base::Bind(&TaskGroup::OnIdleWakeupsRefreshDone,
weak_ptr_factory_.GetWeakPtr()),
@@ -37,7 +37,7 @@
base::Bind(&TaskGroup::OnProcessPriorityDone,
weak_ptr_factory_.GetWeakPtr())));
worker_thread_sampler_.swap(sampler);
-@@ -313,14 +313,14 @@ void TaskGroup::OnIdleWakeupsRefreshDone
+@@ -333,14 +333,14 @@ void TaskGroup::OnIdleWakeupsRefreshDone
OnBackgroundRefreshTypeFinished(REFRESH_TYPE_IDLE_WAKEUPS);
}
diff --git a/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group.h b/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group.h
index 3199a81..eda8013 100644
--- a/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group.h
+++ b/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group.h
@@ -1,4 +1,4 @@
---- chrome/browser/task_manager/sampling/task_group.h.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/task_manager/sampling/task_group.h.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/task_manager/sampling/task_group.h
@@ -96,9 +96,9 @@ class TaskGroup {
int nacl_debug_stub_port() const { return nacl_debug_stub_port_; }
@@ -12,7 +12,7 @@
int idle_wakeups_per_second() const { return idle_wakeups_per_second_; }
-@@ -121,9 +121,9 @@ class TaskGroup {
+@@ -124,9 +124,9 @@ class TaskGroup {
void OnIdleWakeupsRefreshDone(int idle_wakeups_per_second);
@@ -24,7 +24,7 @@
void OnProcessPriorityDone(bool is_backgrounded);
-@@ -171,10 +171,10 @@ class TaskGroup {
+@@ -174,10 +174,10 @@ class TaskGroup {
int nacl_debug_stub_port_;
#endif // !defined(DISABLE_NACL)
int idle_wakeups_per_second_;
diff --git a/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.cc b/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.cc
index 201eac4..a53900a 100644
--- a/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.cc
+++ b/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.cc
@@ -1,4 +1,4 @@
---- chrome/browser/task_manager/sampling/task_group_sampler.cc.orig 2017-02-02 02:02:49 UTC
+--- chrome/browser/task_manager/sampling/task_group_sampler.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/task_manager/sampling/task_group_sampler.cc
@@ -36,9 +36,9 @@ TaskGroupSampler::TaskGroupSampler(
const OnCpuRefreshCallback& on_cpu_refresh,
diff --git a/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.h b/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.h
index 0a8aaeb..cfb03a0 100644
--- a/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.h
+++ b/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.h
@@ -1,4 +1,4 @@
---- chrome/browser/task_manager/sampling/task_group_sampler.h.orig 2017-02-02 02:02:49 UTC
+--- chrome/browser/task_manager/sampling/task_group_sampler.h.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/task_manager/sampling/task_group_sampler.h
@@ -45,9 +45,9 @@ class TaskGroupSampler : public base::Re
using OnCpuRefreshCallback = base::Callback<void(double)>;
diff --git a/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc b/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc
index 38a0037..bd8bfc4 100644
--- a/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc
+++ b/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__manager__impl.cc
@@ -1,6 +1,6 @@
---- chrome/browser/task_manager/sampling/task_manager_impl.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/task_manager/sampling/task_manager_impl.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/task_manager/sampling/task_manager_impl.cc
-@@ -184,11 +184,11 @@ void TaskManagerImpl::GetUSERHandles(Tas
+@@ -180,11 +180,11 @@ void TaskManagerImpl::GetUSERHandles(Tas
}
int TaskManagerImpl::GetOpenFdCount(TaskId task_id) const {
diff --git a/www/chromium/files/patch-chrome_browser_task__manager_task__manager__observer.h b/www/chromium/files/patch-chrome_browser_task__manager_task__manager__observer.h
index b95a6ad..56461cf 100644
--- a/www/chromium/files/patch-chrome_browser_task__manager_task__manager__observer.h
+++ b/www/chromium/files/patch-chrome_browser_task__manager_task__manager__observer.h
@@ -1,16 +1,16 @@
---- chrome/browser/task_manager/task_manager_observer.h.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/task_manager/task_manager_observer.h.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/task_manager/task_manager_observer.h
@@ -42,11 +42,11 @@ enum RefreshType {
// or backgrounded.
- REFRESH_TYPE_PRIORITY = 1 << 13,
+ REFRESH_TYPE_PRIORITY = 1 << 13,
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
// For observers interested in getting the number of open file descriptors of
// processes.
- REFRESH_TYPE_FD_COUNT = 1 << 14,
+ REFRESH_TYPE_FD_COUNT = 1 << 14,
-#endif // defined(OS_LINUX)
+#endif // defined(OS_LINUX) || defined(OS_BSD)
- REFRESH_TYPE_MEMORY_STATE = 1 << 15,
-
+ REFRESH_TYPE_MEMORY_STATE = 1 << 15,
+ REFRESH_TYPE_KEEPALIVE_COUNT = 1 << 16,
diff --git a/www/chromium/files/patch-chrome_browser_tracing_crash__service__uploader.cc b/www/chromium/files/patch-chrome_browser_tracing_crash__service__uploader.cc
index 10ee98b..9c927bb 100644
--- a/www/chromium/files/patch-chrome_browser_tracing_crash__service__uploader.cc
+++ b/www/chromium/files/patch-chrome_browser_tracing_crash__service__uploader.cc
@@ -1,6 +1,6 @@
---- chrome/browser/tracing/crash_service_uploader.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/tracing/crash_service_uploader.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/tracing/crash_service_uploader.cc
-@@ -155,6 +155,8 @@ void TraceCrashServiceUploader::DoUpload
+@@ -157,6 +157,8 @@ void TraceCrashServiceUploader::DoUpload
const char product[] = "Chrome_Android";
#elif defined(OS_CHROMEOS)
const char product[] = "Chrome_ChromeOS";
diff --git a/www/chromium/files/patch-chrome_browser_ui_BUILD.gn b/www/chromium/files/patch-chrome_browser_ui_BUILD.gn
index 5b82055..cd892fb 100644
--- a/www/chromium/files/patch-chrome_browser_ui_BUILD.gn
+++ b/www/chromium/files/patch-chrome_browser_ui_BUILD.gn
@@ -1,6 +1,6 @@
---- chrome/browser/ui/BUILD.gn.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/BUILD.gn.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/BUILD.gn
-@@ -3122,7 +3122,7 @@ split_static_library("ui") {
+@@ -3135,7 +3135,7 @@ split_static_library("ui") {
]
}
}
diff --git a/www/chromium/files/patch-chrome_browser_ui_browser__command__controller.cc b/www/chromium/files/patch-chrome_browser_ui_browser__command__controller.cc
index 36103e8..59c1d4f 100644
--- a/www/chromium/files/patch-chrome_browser_ui_browser__command__controller.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_browser__command__controller.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/browser_command_controller.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/browser_command_controller.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/browser_command_controller.cc
@@ -80,7 +80,7 @@
#include "chrome/browser/ui/browser_commands_chromeos.h"
@@ -9,7 +9,7 @@
#include "ui/base/ime/linux/text_edit_key_bindings_delegate_auralinux.h"
#endif
-@@ -202,7 +202,7 @@ bool BrowserCommandController::IsReserve
+@@ -190,7 +190,7 @@ bool BrowserCommandController::IsReserve
if (window()->IsFullscreen() && command_id == IDC_FULLSCREEN)
return true;
@@ -18,16 +18,16 @@
// If this key was registered by the user as a content editing hotkey, then
// it is not reserved.
ui::TextEditKeyBindingsDelegateAuraLinux* delegate =
-@@ -405,7 +405,7 @@ void BrowserCommandController::ExecuteCo
+@@ -395,7 +395,7 @@ void BrowserCommandController::ExecuteCo
break;
#endif
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
case IDC_USE_SYSTEM_TITLE_BAR: {
- PrefService* prefs = browser_->profile()->GetPrefs();
+ PrefService* prefs = profile()->GetPrefs();
prefs->SetBoolean(prefs::kUseCustomChromeFrame,
-@@ -765,7 +765,7 @@ void BrowserCommandController::InitComma
+@@ -755,7 +755,7 @@ void BrowserCommandController::InitComma
command_updater_.UpdateCommandEnabled(IDC_VISIT_DESKTOP_OF_LRU_USER_2, true);
command_updater_.UpdateCommandEnabled(IDC_VISIT_DESKTOP_OF_LRU_USER_3, true);
#endif
diff --git a/www/chromium/files/patch-chrome_browser_ui_browser__view__prefs.cc b/www/chromium/files/patch-chrome_browser_ui_browser__view__prefs.cc
index 7544268..bbc50da 100644
--- a/www/chromium/files/patch-chrome_browser_ui_browser__view__prefs.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_browser__view__prefs.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/browser_view_prefs.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/ui/browser_view_prefs.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/browser_view_prefs.cc
@@ -10,7 +10,7 @@
#include "components/prefs/pref_registry_simple.h"
diff --git a/www/chromium/files/patch-chrome_browser_ui_exclusive__access_exclusive__access__bubble.cc b/www/chromium/files/patch-chrome_browser_ui_exclusive__access_exclusive__access__bubble.cc
index 5b0c956..15c9394 100644
--- a/www/chromium/files/patch-chrome_browser_ui_exclusive__access_exclusive__access__bubble.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_exclusive__access_exclusive__access__bubble.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/exclusive_access/exclusive_access_bubble.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/ui/exclusive_access/exclusive_access_bubble.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/exclusive_access/exclusive_access_bubble.cc
@@ -16,7 +16,7 @@
diff --git a/www/chromium/files/patch-chrome_browser_ui_input__method_input__method__engine.h b/www/chromium/files/patch-chrome_browser_ui_input__method_input__method__engine.h
index 9e45a6d..9061fbe 100644
--- a/www/chromium/files/patch-chrome_browser_ui_input__method_input__method__engine.h
+++ b/www/chromium/files/patch-chrome_browser_ui_input__method_input__method__engine.h
@@ -1,4 +1,4 @@
---- chrome/browser/ui/input_method/input_method_engine.h.orig 2017-02-02 02:02:49 UTC
+--- chrome/browser/ui/input_method/input_method_engine.h.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/input_method/input_method_engine.h
@@ -27,7 +27,7 @@ class InputMethodEngine : public InputMe
diff --git a/www/chromium/files/patch-chrome_browser_ui_input__method_input__method__engine__base.cc b/www/chromium/files/patch-chrome_browser_ui_input__method_input__method__engine__base.cc
index 7bb04cf..8dc37d0 100644
--- a/www/chromium/files/patch-chrome_browser_ui_input__method_input__method__engine__base.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_input__method_input__method__engine__base.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/input_method/input_method_engine_base.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/input_method/input_method_engine_base.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/input_method/input_method_engine_base.cc
@@ -35,7 +35,7 @@
#include "ui/base/ime/chromeos/ime_keymap.h"
diff --git a/www/chromium/files/patch-chrome_browser_ui_libgtkui_BUILD.gn b/www/chromium/files/patch-chrome_browser_ui_libgtkui_BUILD.gn
index 086b271..c43e4a1 100644
--- a/www/chromium/files/patch-chrome_browser_ui_libgtkui_BUILD.gn
+++ b/www/chromium/files/patch-chrome_browser_ui_libgtkui_BUILD.gn
@@ -1,4 +1,4 @@
---- chrome/browser/ui/libgtkui/BUILD.gn.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/libgtkui/BUILD.gn.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/libgtkui/BUILD.gn
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
diff --git a/www/chromium/files/patch-chrome_browser_ui_libgtkui_print__dialog__gtk.cc b/www/chromium/files/patch-chrome_browser_ui_libgtkui_print__dialog__gtk.cc
index e33d1cc..7620e36 100644
--- a/www/chromium/files/patch-chrome_browser_ui_libgtkui_print__dialog__gtk.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_libgtkui_print__dialog__gtk.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/libgtkui/print_dialog_gtk.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/libgtkui/print_dialog_gtk.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/libgtkui/print_dialog_gtk.cc
@@ -347,6 +347,7 @@ void PrintDialogGtk2::ShowDialog(
// Since we only generate PDF, only show printers that support PDF.
diff --git a/www/chromium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc b/www/chromium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc
index cc8675d..1a55f41 100644
--- a/www/chromium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_startup_bad__flags__prompt.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/startup/bad_flags_prompt.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/startup/bad_flags_prompt.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/startup/bad_flags_prompt.cc
@@ -72,7 +72,7 @@ void ShowBadFlagsPrompt(Browser* browser
// This flag gives extensions more powers.
diff --git a/www/chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc b/www/chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc
index 32e805c..7cf4e11 100644
--- a/www/chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_startup_startup__browser__creator.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/startup/startup_browser_creator.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/startup/startup_browser_creator.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/startup/startup_browser_creator.cc
-@@ -95,7 +95,7 @@
+@@ -96,7 +96,7 @@
#include "components/user_manager/user_manager.h"
#endif
@@ -9,7 +9,7 @@
#include "ui/events/devices/x11/touch_factory_x11.h" // nogncheck
#endif
-@@ -657,9 +657,11 @@ bool StartupBrowserCreator::ProcessCmdLi
+@@ -668,9 +668,11 @@ bool StartupBrowserCreator::ProcessCmdLi
}
#endif // OS_CHROMEOS
diff --git a/www/chromium/files/patch-chrome_browser_ui_tab__helpers.cc b/www/chromium/files/patch-chrome_browser_ui_tab__helpers.cc
new file mode 100644
index 0000000..38719ce
--- /dev/null
+++ b/www/chromium/files/patch-chrome_browser_ui_tab__helpers.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/ui/tab_helpers.cc.orig 2017-04-19 19:06:30 UTC
++++ chrome/browser/ui/tab_helpers.cc
+@@ -245,7 +245,7 @@ void TabHelpers::AttachTabHelpers(WebCon
+ #endif
+
+ #if defined(OS_WIN) || defined(OS_MACOSX) || \
+- (defined(OS_LINUX) && !defined(OS_CHROMEOS))
++ (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
+ metrics::DesktopSessionDurationObserver::CreateForWebContents(web_contents);
+ #endif
+ // --- Feature tab helpers behind flags ---
diff --git a/www/chromium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.cc b/www/chromium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.cc
index ba1cfd3..c9c14de 100644
--- a/www/chromium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_task__manager_task__manager__columns.cc
@@ -1,15 +1,15 @@
---- chrome/browser/ui/task_manager/task_manager_columns.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/task_manager/task_manager_columns.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/task_manager/task_manager_columns.cc
@@ -80,10 +80,10 @@ const TableColumnData kColumns[] = {
- { IDS_TASK_MANAGER_IDLE_WAKEUPS_COLUMN, ui::TableColumn::RIGHT, -1, 0,
- arraysize("idlewakeups") * kCharWidth, -1, true, false, false },
+ {IDS_TASK_MANAGER_IDLE_WAKEUPS_COLUMN, ui::TableColumn::RIGHT, -1, 0,
+ arraysize("idlewakeups") * kCharWidth, -1, true, false, false},
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
- { IDS_TASK_MANAGER_OPEN_FD_COUNT_COLUMN, ui::TableColumn::RIGHT, -1, 0,
- arraysize("999") * kCharWidth, -1, true, false, false },
+ {IDS_TASK_MANAGER_OPEN_FD_COUNT_COLUMN, ui::TableColumn::RIGHT, -1, 0,
+ arraysize("999") * kCharWidth, -1, true, false, false},
-#endif // defined(OS_LINUX)
+#endif // defined(OS_LINUX) || defined(OS_BSD)
- { IDS_TASK_MANAGER_PROCESS_PRIORITY_COLUMN, ui::TableColumn::LEFT, -1, 0,
- arraysize("background") * kCharWidth, -1, true, true, false },
- { IDS_TASK_MANAGER_MEMORY_STATE_COLUMN, ui::TableColumn::LEFT, -1, 0,
+ {IDS_TASK_MANAGER_PROCESS_PRIORITY_COLUMN, ui::TableColumn::LEFT, -1, 0,
+ arraysize("background") * kCharWidth, -1, true, true, false},
+ {IDS_TASK_MANAGER_MEMORY_STATE_COLUMN, ui::TableColumn::LEFT, -1, 0,
diff --git a/www/chromium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc b/www/chromium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc
index c87c278..a16ae99 100644
--- a/www/chromium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_task__manager_task__manager__table__model.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/task_manager/task_manager_table_model.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/task_manager/task_manager_table_model.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/task_manager/task_manager_table_model.cc
-@@ -443,13 +443,13 @@ base::string16 TaskManagerTableModel::Ge
+@@ -454,13 +454,13 @@ base::string16 TaskManagerTableModel::Ge
? stringifier_->backgrounded_string()
: stringifier_->foregrounded_string();
@@ -16,7 +16,7 @@
case IDS_TASK_MANAGER_MEMORY_STATE_COLUMN: {
return stringifier_->GetMemoryStateText(
-@@ -607,7 +607,7 @@ int TaskManagerTableModel::CompareValues
+@@ -623,7 +623,7 @@ int TaskManagerTableModel::CompareValues
return BooleanCompare(is_proc1_bg, is_proc2_bg);
}
@@ -25,7 +25,7 @@
case IDS_TASK_MANAGER_OPEN_FD_COUNT_COLUMN: {
const int proc1_fd_count =
observed_task_manager()->GetOpenFdCount(tasks_[row1]);
-@@ -615,7 +615,7 @@ int TaskManagerTableModel::CompareValues
+@@ -631,7 +631,7 @@ int TaskManagerTableModel::CompareValues
observed_task_manager()->GetOpenFdCount(tasks_[row2]);
return ValueCompare(proc1_fd_count, proc2_fd_count);
}
@@ -34,8 +34,8 @@
default:
NOTREACHED();
-@@ -778,11 +778,11 @@ void TaskManagerTableModel::UpdateRefres
- type = REFRESH_TYPE_MEMORY_STATE;
+@@ -799,11 +799,11 @@ void TaskManagerTableModel::UpdateRefres
+ type = REFRESH_TYPE_KEEPALIVE_COUNT;
break;
-#if defined(OS_LINUX)
diff --git a/www/chromium/files/patch-chrome_browser_ui_toolbar_app__menu__model.cc b/www/chromium/files/patch-chrome_browser_ui_toolbar_app__menu__model.cc
index 69df53e..699a8f7 100644
--- a/www/chromium/files/patch-chrome_browser_ui_toolbar_app__menu__model.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_toolbar_app__menu__model.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/toolbar/app_menu_model.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/ui/toolbar/app_menu_model.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/toolbar/app_menu_model.cc
-@@ -632,7 +632,7 @@ bool AppMenuModel::IsCommandIdVisible(in
+@@ -631,7 +631,7 @@ bool AppMenuModel::IsCommandIdVisible(in
case IDC_UPGRADE_DIALOG:
return browser_defaults::kShowUpgradeMenuItem &&
UpgradeDetector::GetInstance()->notify_upgrade();
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_accelerator__table.cc b/www/chromium/files/patch-chrome_browser_ui_views_accelerator__table.cc
index 1835449..aeef0af 100644
--- a/www/chromium/files/patch-chrome_browser_ui_views_accelerator__table.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_views_accelerator__table.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/views/accelerator_table.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/views/accelerator_table.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/accelerator_table.cc
@@ -54,7 +54,7 @@ const AcceleratorMapping kAcceleratorMap
{ ui::VKEY_S, kPlatformModifier, IDC_SAVE_PAGE },
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_apps_chrome__native__app__window__views__aura.cc b/www/chromium/files/patch-chrome_browser_ui_views_apps_chrome__native__app__window__views__aura.cc
index a4ae6db..bd9f35a 100644
--- a/www/chromium/files/patch-chrome_browser_ui_views_apps_chrome__native__app__window__views__aura.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_views_apps_chrome__native__app__window__views__aura.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc
@@ -19,7 +19,7 @@
#include "ui/gfx/image/image_skia.h"
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc b/www/chromium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc
index 140e8dd..a121f95 100644
--- a/www/chromium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_views_chrome__browser__main__extra__parts__views.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc
@@ -26,14 +26,14 @@
#include "ui/wm/core/wm_state.h"
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_chrome__views__delegate.cc b/www/chromium/files/patch-chrome_browser_ui_views_chrome__views__delegate.cc
deleted file mode 100644
index a6aaa0c..0000000
--- a/www/chromium/files/patch-chrome_browser_ui_views_chrome__views__delegate.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- chrome/browser/ui/views/chrome_views_delegate.cc.orig 2017-03-09 20:04:29 UTC
-+++ chrome/browser/ui/views/chrome_views_delegate.cc
-@@ -59,7 +59,7 @@
- #include "ui/views/widget/native_widget_aura.h"
- #endif
-
--#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
-+#if defined(OS_LINUX) && !defined(OS_CHROMEOS) || defined(OS_BSD)
- #include "ui/views/linux_ui/linux_ui.h"
- #endif
-
-@@ -329,7 +329,7 @@ HICON ChromeViewsDelegate::GetSmallWindo
- return GetSmallAppIcon();
- }
-
--#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
-+#elif defined(OS_LINUX) && !defined(OS_CHROMEOS) || defined(OS_BSD)
- gfx::ImageSkia* ChromeViewsDelegate::GetDefaultWindowIcon() const {
- ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
- return rb.GetImageSkiaNamed(IDR_PRODUCT_LOGO_64);
-@@ -468,7 +468,7 @@ void ChromeViewsDelegate::OnBeforeWidget
- #endif
- }
-
--#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
-+#if defined(OS_LINUX) && !defined(OS_CHROMEOS) || defined(OS_BSD)
- bool ChromeViewsDelegate::WindowManagerProvidesTitleBar(bool maximized) {
- // On Ubuntu Unity, the system always provides a title bar for maximized
- // windows.
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_chrome__views__delegate.h b/www/chromium/files/patch-chrome_browser_ui_views_chrome__views__delegate.h
index d35c658..365fb2f 100644
--- a/www/chromium/files/patch-chrome_browser_ui_views_chrome__views__delegate.h
+++ b/www/chromium/files/patch-chrome_browser_ui_views_chrome__views__delegate.h
@@ -1,20 +1,11 @@
---- chrome/browser/ui/views/chrome_views_delegate.h.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/ui/views/chrome_views_delegate.h.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/chrome_views_delegate.h
-@@ -37,7 +37,7 @@ class ChromeViewsDelegate : public views
- #if defined(OS_WIN)
- HICON GetDefaultWindowIcon() const override;
+@@ -43,7 +43,7 @@ class ChromeViewsDelegate : public views
HICON GetSmallWindowIcon() const override;
+ int GetAppbarAutohideEdges(HMONITOR monitor,
+ const base::Closure& callback) override;
-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
-+#elif (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
++#elif (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
gfx::ImageSkia* GetDefaultWindowIcon() const override;
- #endif
-
-@@ -50,7 +50,7 @@ class ChromeViewsDelegate : public views
- void OnBeforeWidgetInit(
- views::Widget::InitParams* params,
- views::internal::NativeWidgetDelegate* delegate) override;
--#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
-+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
bool WindowManagerProvidesTitleBar(bool maximized) override;
#endif
- ui::ContextFactory* GetContextFactory() override;
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_first__run__dialog.cc b/www/chromium/files/patch-chrome_browser_ui_views_first__run__dialog.cc
index 4af2fb2..5e6fab1 100644
--- a/www/chromium/files/patch-chrome_browser_ui_views_first__run__dialog.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_views_first__run__dialog.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/views/first_run_dialog.cc.orig 2017-02-02 02:02:50 UTC
+--- chrome/browser/ui/views/first_run_dialog.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/first_run_dialog.cc
@@ -40,8 +40,10 @@ using views::GridLayout;
namespace {
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc
index 8a9fd73..94c956c 100644
--- a/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__frame.cc
@@ -1,7 +1,7 @@
---- chrome/browser/ui/views/frame/browser_frame.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/ui/views/frame/browser_frame.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/frame/browser_frame.cc
-@@ -37,11 +37,11 @@
- #include "ash/common/wm_shell.h" // nogncheck
+@@ -36,11 +36,11 @@
+ #include "components/user_manager/user_manager.h"
#endif
-#if defined(OS_LINUX)
@@ -14,7 +14,7 @@
#include "ui/views/widget/desktop_aura/x11_desktop_handler.h"
#endif
-@@ -98,7 +98,7 @@ void BrowserFrame::InitBrowserFrame() {
+@@ -97,7 +97,7 @@ void BrowserFrame::InitBrowserFrame() {
non_client_view()->set_context_menu_controller(this);
}
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__view.cc
deleted file mode 100644
index 298c7df..0000000
--- a/www/chromium/files/patch-chrome_browser_ui_views_frame_browser__view.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- chrome/browser/ui/views/frame/browser_view.cc.orig 2017-03-09 20:04:29 UTC
-+++ chrome/browser/ui/views/frame/browser_view.cc
-@@ -179,7 +179,7 @@
- #include "chrome/browser/ui/views/sync/one_click_signin_dialog_view.h"
- #endif
-
--#if defined(OS_LINUX)
-+#if defined(OS_LINUX) || defined(OS_BSD)
- #endif
-
- using base::TimeDelta;
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc
index 8000b48..288c9c9 100644
--- a/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/views/frame/opaque_browser_frame_view.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/ui/views/frame/opaque_browser_frame_view.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
@@ -38,7 +38,7 @@
#include "ui/views/window/frame_background.h"
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view__layout.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view__layout.cc
index b181c61..3e5cb4f 100644
--- a/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view__layout.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view__layout.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc
@@ -20,7 +20,7 @@ namespace {
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view__platform__specific.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view__platform__specific.cc
index c8da5dc..55ae538 100644
--- a/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view__platform__specific.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_opaque__browser__frame__view__platform__specific.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.cc
@@ -10,7 +10,7 @@ bool OpaqueBrowserFrameViewPlatformSpeci
return false;
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc
index 3dc5eef..c7bdf78 100644
--- a/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__builder.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/views/frame/system_menu_model_builder.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/ui/views/frame/system_menu_model_builder.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/frame/system_menu_model_builder.cc
-@@ -85,7 +85,7 @@ void SystemMenuModelBuilder::BuildSystem
+@@ -84,7 +84,7 @@ void SystemMenuModelBuilder::BuildSystem
model->AddSeparator(ui::NORMAL_SEPARATOR);
model->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER);
}
@@ -9,7 +9,7 @@
model->AddSeparator(ui::NORMAL_SEPARATOR);
model->AddCheckItemWithStringId(IDC_USE_SYSTEM_TITLE_BAR,
IDS_SHOW_WINDOW_DECORATIONS_MENU);
-@@ -119,7 +119,7 @@ void SystemMenuModelBuilder::BuildSystem
+@@ -118,7 +118,7 @@ void SystemMenuModelBuilder::BuildSystem
model->AddSeparator(ui::NORMAL_SEPARATOR);
model->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER);
}
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc b/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc
index 4aa73b5..e13e940 100644
--- a/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_views_frame_system__menu__model__delegate.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/views/frame/system_menu_model_delegate.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/ui/views/frame/system_menu_model_delegate.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/frame/system_menu_model_delegate.cc
@@ -13,7 +13,7 @@
#include "components/sessions/core/tab_restore_service.h"
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_message__center_message__center__frame__view.cc b/www/chromium/files/patch-chrome_browser_ui_views_message__center_message__center__frame__view.cc
index b7da410..906206b 100644
--- a/www/chromium/files/patch-chrome_browser_ui_views_message__center_message__center__frame__view.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_views_message__center_message__center__frame__view.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/views/message_center/message_center_frame_view.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/ui/views/message_center/message_center_frame_view.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/message_center/message_center_frame_view.cc
@@ -15,7 +15,7 @@
namespace message_center {
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab__drag__controller.cc b/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab__drag__controller.cc
index 876dda1..a7c9b7d 100644
--- a/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab__drag__controller.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab__drag__controller.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/views/tabs/tab_drag_controller.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/views/tabs/tab_drag_controller.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/tabs/tab_drag_controller.cc
@@ -251,7 +251,7 @@ void TabDragController::Init(
// synchronous on desktop Linux, so use that.
diff --git a/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab__strip.cc b/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab__strip.cc
index 1276278..f682195 100644
--- a/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab__strip.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab__strip.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/views/tabs/tab_strip.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/ui/views/tabs/tab_strip.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/tabs/tab_strip.cc
@@ -323,7 +323,7 @@ NewTabButton::NewTabButton(TabStrip* tab
tab_strip_(tab_strip),
diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_about__ui.cc b/www/chromium/files/patch-chrome_browser_ui_webui_about__ui.cc
index de5b15c..8121355 100644
--- a/www/chromium/files/patch-chrome_browser_ui_webui_about__ui.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_webui_about__ui.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/about_ui.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/ui/webui/about_ui.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/webui/about_ui.cc
-@@ -75,7 +75,7 @@
+@@ -76,7 +76,7 @@
#include "chrome/browser/ui/webui/theme_source.h"
#endif
diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc b/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
index a2431f1..0f035ec 100644
--- a/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
-@@ -289,7 +289,7 @@ bool IsAboutUI(const GURL& url) {
+@@ -290,7 +290,7 @@ bool IsAboutUI(const GURL& url) {
#if !defined(OS_ANDROID)
|| url.host_piece() == chrome::kChromeUITermsHost
#endif
diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_extensions_extension__loader__handler.cc b/www/chromium/files/patch-chrome_browser_ui_webui_extensions_extension__loader__handler.cc
index 29d92f0..a1510e6 100644
--- a/www/chromium/files/patch-chrome_browser_ui_webui_extensions_extension__loader__handler.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_webui_extensions_extension__loader__handler.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/extensions/extension_loader_handler.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/ui/webui/extensions/extension_loader_handler.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/webui/extensions/extension_loader_handler.cc
-@@ -27,7 +27,11 @@
+@@ -28,7 +28,11 @@
#include "extensions/common/constants.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest_constants.h"
diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_options_browser__options__handler.cc b/www/chromium/files/patch-chrome_browser_ui_webui_options_browser__options__handler.cc
index 1c53680..dbd7f1e 100644
--- a/www/chromium/files/patch-chrome_browser_ui_webui_options_browser__options__handler.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_webui_options_browser__options__handler.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/options/browser_options_handler.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/webui/options/browser_options_handler.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/webui/options/browser_options_handler.cc
-@@ -565,13 +565,13 @@ void BrowserOptionsHandler::GetLocalized
+@@ -608,13 +608,13 @@ void BrowserOptionsHandler::GetLocalized
{ "syncButtonTextStart", IDS_SYNC_SETUP_BUTTON_LABEL },
#endif // defined(OS_CHROMEOS)
@@ -16,7 +16,7 @@
#if defined(OS_CHROMEOS) && defined(USE_ASH)
{ "setWallpaper", IDS_SET_WALLPAPER_BUTTON },
-@@ -814,7 +814,7 @@ void BrowserOptionsHandler::RegisterMess
+@@ -859,7 +859,7 @@ void BrowserOptionsHandler::RegisterMess
"requestProfilesInfo",
base::Bind(&BrowserOptionsHandler::HandleRequestProfilesInfo,
base::Unretained(this)));
@@ -25,7 +25,7 @@
web_ui()->RegisterMessageCallback(
"themesSetNative",
base::Bind(&BrowserOptionsHandler::ThemesSetNative,
-@@ -1476,7 +1476,7 @@ void BrowserOptionsHandler::ObserveTheme
+@@ -1519,7 +1519,7 @@ void BrowserOptionsHandler::ObserveTheme
ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile);
bool is_system_theme = false;
@@ -33,8 +33,8 @@
+#if defined(OS_POSIX) && !defined(OS_CHROMEOS)
bool profile_is_supervised = profile->IsSupervised();
is_system_theme = theme_service->UsingSystemTheme();
- base::FundamentalValue native_theme_enabled(!is_system_theme &&
-@@ -1498,7 +1498,7 @@ void BrowserOptionsHandler::ThemesReset(
+ base::Value native_theme_enabled(!is_system_theme && !profile_is_supervised);
+@@ -1540,7 +1540,7 @@ void BrowserOptionsHandler::ThemesReset(
ThemeServiceFactory::GetForProfile(profile)->UseDefaultTheme();
}
diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_options_browser__options__handler.h b/www/chromium/files/patch-chrome_browser_ui_webui_options_browser__options__handler.h
index 79821e7..4187f58 100644
--- a/www/chromium/files/patch-chrome_browser_ui_webui_options_browser__options__handler.h
+++ b/www/chromium/files/patch-chrome_browser_ui_webui_options_browser__options__handler.h
@@ -1,4 +1,4 @@
---- chrome/browser/ui/webui/options/browser_options_handler.h.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/webui/options/browser_options_handler.h.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/webui/options/browser_options_handler.h
@@ -210,7 +210,7 @@ class BrowserOptionsHandler
diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_settings_appearance__handler.cc b/www/chromium/files/patch-chrome_browser_ui_webui_settings_appearance__handler.cc
index 7eb5ea5..d8d7f6a 100644
--- a/www/chromium/files/patch-chrome_browser_ui_webui_settings_appearance__handler.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_webui_settings_appearance__handler.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/webui/settings/appearance_handler.cc.orig 2017-02-02 02:02:50 UTC
+--- chrome/browser/ui/webui/settings/appearance_handler.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/webui/settings/appearance_handler.cc
@@ -32,7 +32,7 @@ void AppearanceHandler::RegisterMessages
"useDefaultTheme",
diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_settings_appearance__handler.h b/www/chromium/files/patch-chrome_browser_ui_webui_settings_appearance__handler.h
index b5ca309..06229fd 100644
--- a/www/chromium/files/patch-chrome_browser_ui_webui_settings_appearance__handler.h
+++ b/www/chromium/files/patch-chrome_browser_ui_webui_settings_appearance__handler.h
@@ -1,4 +1,4 @@
---- chrome/browser/ui/webui/settings/appearance_handler.h.orig 2017-02-02 02:02:50 UTC
+--- chrome/browser/ui/webui/settings/appearance_handler.h.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/webui/settings/appearance_handler.h
@@ -35,7 +35,7 @@ class AppearanceHandler : public Setting
// Changes the UI theme of the browser to the default theme.
diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_settings_md__settings__localized__strings__provider.cc b/www/chromium/files/patch-chrome_browser_ui_webui_settings_md__settings__localized__strings__provider.cc
index ae346f7..0f7a628 100644
--- a/www/chromium/files/patch-chrome_browser_ui_webui_settings_md__settings__localized__strings__provider.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_webui_settings_md__settings__localized__strings__provider.cc
@@ -1,6 +1,6 @@
---- chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
-@@ -287,7 +287,7 @@ void AddAppearanceStrings(content::WebUI
+@@ -301,7 +301,7 @@ void AddAppearanceStrings(content::WebUI
{"appearancePageTitle", IDS_SETTINGS_APPEARANCE},
{"exampleDotCom", IDS_SETTINGS_EXAMPLE_DOT_COM},
{"themes", IDS_SETTINGS_THEMES},
@@ -9,7 +9,7 @@
{"systemTheme", IDS_SETTINGS_SYSTEM_THEME},
{"useSystemTheme", IDS_SETTINGS_USE_SYSTEM_THEME},
{"classicTheme", IDS_SETTINGS_CLASSIC_THEME},
-@@ -307,7 +307,7 @@ void AddAppearanceStrings(content::WebUI
+@@ -321,7 +321,7 @@ void AddAppearanceStrings(content::WebUI
{"openWallpaperApp", IDS_SETTINGS_OPEN_WALLPAPER_APP},
{"setWallpaper", IDS_SETTINGS_SET_WALLPAPER},
#endif
diff --git a/www/chromium/files/patch-chrome_browser_web__applications_web__app.cc b/www/chromium/files/patch-chrome_browser_web__applications_web__app.cc
index deb1890..8d6d229 100644
--- a/www/chromium/files/patch-chrome_browser_web__applications_web__app.cc
+++ b/www/chromium/files/patch-chrome_browser_web__applications_web__app.cc
@@ -1,4 +1,4 @@
---- chrome/browser/web_applications/web_app.cc.orig 2017-02-02 02:02:50 UTC
+--- chrome/browser/web_applications/web_app.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/web_applications/web_app.cc
@@ -58,7 +58,7 @@ namespace {
#if defined(OS_MACOSX)
@@ -9,7 +9,7 @@
// Linux supports icons of any size. FreeDesktop Icon Theme Specification states
// that "Minimally you should install a 48x48 icon in the hicolor theme."
const int kDesiredSizes[] = {16, 32, 48, 128, 256, 512};
-@@ -507,7 +507,7 @@ void GetIconsInfo(const WebApplicationIn
+@@ -501,7 +501,7 @@ void GetIconsInfo(const WebApplicationIn
}
#endif
diff --git a/www/chromium/files/patch-chrome_browser_web__applications_web__app.h b/www/chromium/files/patch-chrome_browser_web__applications_web__app.h
index ef82c2d..0a86966 100644
--- a/www/chromium/files/patch-chrome_browser_web__applications_web__app.h
+++ b/www/chromium/files/patch-chrome_browser_web__applications_web__app.h
@@ -1,6 +1,6 @@
---- chrome/browser/web_applications/web_app.h.orig 2017-01-26 00:49:09 UTC
+--- chrome/browser/web_applications/web_app.h.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/web_applications/web_app.h
-@@ -224,7 +224,7 @@ typedef std::vector<WebApplicationInfo::
+@@ -208,7 +208,7 @@ typedef std::vector<WebApplicationInfo::
void GetIconsInfo(const WebApplicationInfo& app_info, IconInfoList* icons);
#endif
diff --git a/www/chromium/files/patch-chrome_common_BUILD.gn b/www/chromium/files/patch-chrome_common_BUILD.gn
index 08e01d6..b971961 100644
--- a/www/chromium/files/patch-chrome_common_BUILD.gn
+++ b/www/chromium/files/patch-chrome_common_BUILD.gn
@@ -1,13 +1,13 @@
---- chrome/common/BUILD.gn.orig 2017-03-09 20:04:29 UTC
+--- chrome/common/BUILD.gn.orig 2017-04-19 19:06:30 UTC
+++ chrome/common/BUILD.gn
-@@ -244,6 +244,13 @@ static_library("common") {
+@@ -240,6 +240,13 @@ static_library("common") {
public_deps += [ "//ppapi/shared_impl" ]
}
+ if (is_bsd) {
+ sources -= [
+ "component_flash_hint_file_linux.cc",
-+ "component_flash_hint_file_linux.h",
++ "component_flash_hint_file_linux.h"
+ ]
+ }
+
diff --git a/www/chromium/files/patch-chrome_common_chrome__paths.cc b/www/chromium/files/patch-chrome_common_chrome__paths.cc
index 7268a9f..a28c770 100644
--- a/www/chromium/files/patch-chrome_common_chrome__paths.cc
+++ b/www/chromium/files/patch-chrome_common_chrome__paths.cc
@@ -1,6 +1,6 @@
---- chrome/common/chrome_paths.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/common/chrome_paths.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/common/chrome_paths.cc
-@@ -197,7 +197,7 @@ bool PathProvider(int key, base::FilePat
+@@ -190,7 +190,7 @@ bool PathProvider(int key, base::FilePat
return false;
break;
case chrome::DIR_DEFAULT_DOWNLOADS_SAFE:
diff --git a/www/chromium/files/patch-chrome_common_chrome__paths.h b/www/chromium/files/patch-chrome_common_chrome__paths.h
index e46f5ae..7da5bb5 100644
--- a/www/chromium/files/patch-chrome_common_chrome__paths.h
+++ b/www/chromium/files/patch-chrome_common_chrome__paths.h
@@ -1,6 +1,6 @@
---- chrome/common/chrome_paths.h.orig 2017-03-09 20:04:29 UTC
+--- chrome/common/chrome_paths.h.orig 2017-04-19 19:06:30 UTC
+++ chrome/common/chrome_paths.h
-@@ -49,7 +49,7 @@ enum {
+@@ -51,7 +51,7 @@ enum {
// to set policies for chrome. This directory
// contains subdirectories.
#endif
@@ -9,7 +9,7 @@
defined(OS_MACOSX)
DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions
// on Chrome Mac and Chromium Linux.
-@@ -58,7 +58,7 @@ enum {
+@@ -60,7 +60,7 @@ enum {
// create it.
#endif
@@ -18,7 +18,7 @@
DIR_STANDALONE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension'
// definition manifest files that
// describe extensions which are to be
-@@ -111,7 +111,7 @@ enum {
+@@ -113,7 +113,7 @@ enum {
DIR_SUPERVISED_USER_INSTALLED_WHITELISTS, // Directory where sanitized
// supervised user whitelists are
// installed.
diff --git a/www/chromium/files/patch-chrome_common_chrome__paths__internal.h b/www/chromium/files/patch-chrome_common_chrome__paths__internal.h
index 0836ae5..982b4f1 100644
--- a/www/chromium/files/patch-chrome_common_chrome__paths__internal.h
+++ b/www/chromium/files/patch-chrome_common_chrome__paths__internal.h
@@ -1,6 +1,6 @@
---- chrome/common/chrome_paths_internal.h.orig 2017-01-26 00:49:09 UTC
+--- chrome/common/chrome_paths_internal.h.orig 2017-04-19 19:06:30 UTC
+++ chrome/common/chrome_paths_internal.h
-@@ -39,7 +39,7 @@ void GetUserCacheDirectory(const base::F
+@@ -45,7 +45,7 @@ void GetUserCacheDirectory(const base::F
// Get the path to the user's documents directory.
bool GetUserDocumentsDirectory(base::FilePath* result);
diff --git a/www/chromium/files/patch-chrome_common_chrome__switches.cc b/www/chromium/files/patch-chrome_common_chrome__switches.cc
index d03ab86..9c68deb 100644
--- a/www/chromium/files/patch-chrome_common_chrome__switches.cc
+++ b/www/chromium/files/patch-chrome_common_chrome__switches.cc
@@ -1,6 +1,6 @@
---- chrome/common/chrome_switches.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/common/chrome_switches.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/common/chrome_switches.cc
-@@ -1165,7 +1165,7 @@ const char kAllowNaClSocketAPI[]
+@@ -1138,7 +1138,7 @@ const char kAllowNaClSocketAPI[]
const char kEnableWaylandServer[] = "enable-wayland-server";
#endif
diff --git a/www/chromium/files/patch-chrome_common_chrome__switches.h b/www/chromium/files/patch-chrome_common_chrome__switches.h
index 4bb2259..83825f9 100644
--- a/www/chromium/files/patch-chrome_common_chrome__switches.h
+++ b/www/chromium/files/patch-chrome_common_chrome__switches.h
@@ -1,6 +1,6 @@
---- chrome/common/chrome_switches.h.orig 2017-03-09 20:04:29 UTC
+--- chrome/common/chrome_switches.h.orig 2017-04-19 19:06:30 UTC
+++ chrome/common/chrome_switches.h
-@@ -355,7 +355,7 @@ extern const char kAllowNaClSocketAPI[];
+@@ -351,7 +351,7 @@ extern const char kAllowNaClSocketAPI[];
extern const char kEnableWaylandServer[];
#endif
diff --git a/www/chromium/files/patch-chrome_common_extensions_chrome__extensions__client.cc b/www/chromium/files/patch-chrome_common_extensions_chrome__extensions__client.cc
index a3e5a52..474ebd2 100644
--- a/www/chromium/files/patch-chrome_common_extensions_chrome__extensions__client.cc
+++ b/www/chromium/files/patch-chrome_common_extensions_chrome__extensions__client.cc
@@ -1,4 +1,4 @@
---- chrome/common/extensions/chrome_extensions_client.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/common/extensions/chrome_extensions_client.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/common/extensions/chrome_extensions_client.cc
@@ -97,7 +97,10 @@ ChromeChannelForHistogram GetChromeChann
static base::LazyInstance<ChromeExtensionsClient> g_client =
diff --git a/www/chromium/files/patch-chrome_common_extensions_command.cc b/www/chromium/files/patch-chrome_common_extensions_command.cc
index 2025c85..90c4ceb 100644
--- a/www/chromium/files/patch-chrome_common_extensions_command.cc
+++ b/www/chromium/files/patch-chrome_common_extensions_command.cc
@@ -1,4 +1,4 @@
---- chrome/common/extensions/command.cc.orig 2017-01-26 00:49:09 UTC
+--- chrome/common/extensions/command.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/common/extensions/command.cc
@@ -302,7 +302,7 @@ std::string Command::CommandPlatform() {
return values::kKeybindingPlatformMac;
diff --git a/www/chromium/files/patch-chrome_common_features.gni b/www/chromium/files/patch-chrome_common_features.gni
index c1427d5..714d870 100644
--- a/www/chromium/files/patch-chrome_common_features.gni
+++ b/www/chromium/files/patch-chrome_common_features.gni
@@ -1,4 +1,4 @@
---- chrome/common/features.gni.orig 2017-03-09 20:04:29 UTC
+--- chrome/common/features.gni.orig 2017-04-19 19:06:30 UTC
+++ chrome/common/features.gni
@@ -40,7 +40,7 @@ declare_args() {
enable_hotwording = is_chrome_branded && is_chromeos
diff --git a/www/chromium/files/patch-chrome_common_pref__names.cc b/www/chromium/files/patch-chrome_common_pref__names.cc
index 62a9e37..f1f0347 100644
--- a/www/chromium/files/patch-chrome_common_pref__names.cc
+++ b/www/chromium/files/patch-chrome_common_pref__names.cc
@@ -1,6 +1,6 @@
---- chrome/common/pref_names.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/common/pref_names.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/common/pref_names.cc
-@@ -983,7 +983,7 @@ const char kForceSessionSync[] = "settin
+@@ -1013,7 +1013,7 @@ const char kForceSessionSync[] = "settin
// only using an account that belongs to one of the domains from this pref.
const char kAllowedDomainsForApps[] = "settings.allowed_domains_for_apps";
@@ -9,7 +9,7 @@
// Linux specific preference on whether we should match the system theme.
const char kUsesSystemTheme[] = "extensions.theme.use_system";
#endif
-@@ -1070,7 +1070,7 @@ const char kShowUpdatePromotionInfoBar[]
+@@ -1100,7 +1100,7 @@ const char kShowUpdatePromotionInfoBar[]
"browser.show_update_promotion_info_bar";
#endif
@@ -18,7 +18,7 @@
// Boolean that is false if we should show window manager decorations. If
// true, we draw a custom chrome frame (thicker title bar and blue border).
const char kUseCustomChromeFrame[] = "browser.custom_chrome_frame";
-@@ -1454,7 +1454,7 @@ const char kDownloadDefaultDirectory[] =
+@@ -1476,7 +1476,7 @@ const char kDownloadDefaultDirectory[] =
// upgrade a unsafe location to a safe location.
const char kDownloadDirUpgraded[] = "download.directory_upgrade";
diff --git a/www/chromium/files/patch-chrome_common_pref__names.h b/www/chromium/files/patch-chrome_common_pref__names.h
index 15107d8..584e5bf 100644
--- a/www/chromium/files/patch-chrome_common_pref__names.h
+++ b/www/chromium/files/patch-chrome_common_pref__names.h
@@ -1,6 +1,6 @@
---- chrome/common/pref_names.h.orig 2017-03-09 20:04:29 UTC
+--- chrome/common/pref_names.h.orig 2017-04-19 19:06:30 UTC
+++ chrome/common/pref_names.h
-@@ -330,7 +330,7 @@ extern const char kForceGoogleSafeSearch
+@@ -340,7 +340,7 @@ extern const char kForceGoogleSafeSearch
extern const char kForceYouTubeRestrict[];
extern const char kForceSessionSync[];
extern const char kAllowedDomainsForApps[];
@@ -9,7 +9,7 @@
extern const char kUsesSystemTheme[];
#endif
extern const char kCurrentThemePackFilename[];
-@@ -363,7 +363,7 @@ extern const char kDefaultBrowserSetting
+@@ -373,7 +373,7 @@ extern const char kDefaultBrowserSetting
#if defined(OS_MACOSX)
extern const char kShowUpdatePromotionInfoBar[];
#endif
@@ -18,7 +18,7 @@
extern const char kUseCustomChromeFrame[];
#endif
extern const char kBackShortcutBubbleShownCount[];
-@@ -519,7 +519,7 @@ extern const char kAppWindowPlacement[];
+@@ -527,7 +527,7 @@ extern const char kAppWindowPlacement[];
extern const char kDownloadDefaultDirectory[];
extern const char kDownloadExtensionsToOpen[];
extern const char kDownloadDirUpgraded[];
diff --git a/www/chromium/files/patch-chrome_common_url__constants.cc b/www/chromium/files/patch-chrome_common_url__constants.cc
index fa08701..cb443e6 100644
--- a/www/chromium/files/patch-chrome_common_url__constants.cc
+++ b/www/chromium/files/patch-chrome_common_url__constants.cc
@@ -1,4 +1,4 @@
---- chrome/common/url_constants.cc.orig 2017-03-09 20:04:29 UTC
+--- chrome/common/url_constants.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/common/url_constants.cc
@@ -143,7 +143,7 @@ const char kChromeUIMdCupsSettingsURL[]
const char kChromeUIMetroFlowURL[] = "chrome://make-metro/";
@@ -9,7 +9,7 @@
const char kChromeUITabModalConfirmDialogURL[] =
"chrome://tab-modal-confirm-dialog/";
#endif
-@@ -336,7 +336,7 @@ const char kChromeOSAssetPath[] = "/usr/
+@@ -337,7 +337,7 @@ const char kChromeOSAssetPath[] = "/usr/
const char kChromeUIMetroFlowHost[] = "make-metro";
#endif
diff --git a/www/chromium/files/patch-chrome_common_url__constants.h b/www/chromium/files/patch-chrome_common_url__constants.h
index 73ae674..69d2b1f 100644
--- a/www/chromium/files/patch-chrome_common_url__constants.h
+++ b/www/chromium/files/patch-chrome_common_url__constants.h
@@ -1,4 +1,4 @@
---- chrome/common/url_constants.h.orig 2017-03-09 20:04:29 UTC
+--- chrome/common/url_constants.h.orig 2017-04-19 19:06:30 UTC
+++ chrome/common/url_constants.h
@@ -128,7 +128,7 @@ extern const char kChromeUIMdCupsSetting
extern const char kChromeUIMetroFlowURL[];
@@ -9,7 +9,7 @@
extern const char kChromeUITabModalConfirmDialogURL[];
#endif
-@@ -313,7 +313,7 @@ extern const char kChromeOSAssetPath[];
+@@ -314,7 +314,7 @@ extern const char kChromeOSAssetPath[];
extern const char kChromeUIMetroFlowHost[];
#endif
diff --git a/www/chromium/files/patch-chrome_renderer_pepper_pepper__flash__font__file__host.cc b/www/chromium/files/patch-chrome_renderer_pepper_pepper__flash__font__file__host.cc
index d49e67c..09dadf1 100644
--- a/www/chromium/files/patch-chrome_renderer_pepper_pepper__flash__font__file__host.cc
+++ b/www/chromium/files/patch-chrome_renderer_pepper_pepper__flash__font__file__host.cc
@@ -1,4 +1,4 @@
---- chrome/renderer/pepper/pepper_flash_font_file_host.cc.orig 2017-01-26 00:49:10 UTC
+--- chrome/renderer/pepper/pepper_flash_font_file_host.cc.orig 2017-04-19 19:06:31 UTC
+++ chrome/renderer/pepper/pepper_flash_font_file_host.cc
@@ -14,7 +14,7 @@
#include "ppapi/proxy/ppapi_messages.h"
@@ -6,10 +6,10 @@
-#if defined(OS_LINUX) || defined(OS_OPENBSD)
+#if defined(OS_LINUX) || defined(OS_BSD)
- #include "content/public/common/child_process_sandbox_support_linux.h"
+ #include "content/public/child/child_process_sandbox_support_linux.h"
+ #include "content/public/common/common_sandbox_support_linux.h"
#elif defined(OS_WIN)
- #include "third_party/skia/include/ports/SkFontMgr.h"
-@@ -27,7 +27,7 @@ PepperFlashFontFileHost::PepperFlashFont
+@@ -28,7 +28,7 @@ PepperFlashFontFileHost::PepperFlashFont
const ppapi::proxy::SerializedFontDescription& description,
PP_PrivateFontCharset charset)
: ResourceHost(host->GetPpapiHost(), instance, resource) {
@@ -18,7 +18,7 @@
fd_.reset(content::MatchFontWithFallback(
description.face,
description.weight >= PP_BROWSERFONT_TRUSTED_WEIGHT_BOLD,
-@@ -44,7 +44,7 @@ PepperFlashFontFileHost::PepperFlashFont
+@@ -45,7 +45,7 @@ PepperFlashFontFileHost::PepperFlashFont
sk_sp<SkFontMgr> font_mgr(SkFontMgr::RefDefault());
typeface_ = sk_sp<SkTypeface>(
font_mgr->matchFamilyStyle(description.face.c_str(), style));
@@ -27,7 +27,7 @@
}
PepperFlashFontFileHost::~PepperFlashFontFileHost() {}
-@@ -63,7 +63,7 @@ bool PepperFlashFontFileHost::GetFontDat
+@@ -64,7 +64,7 @@ bool PepperFlashFontFileHost::GetFontDat
void* buffer,
size_t* length) {
bool result = false;
diff --git a/www/chromium/files/patch-chrome_renderer_pepper_pepper__flash__font__file__host.h b/www/chromium/files/patch-chrome_renderer_pepper_pepper__flash__font__file__host.h
index 38978b4..84489c5 100644
--- a/www/chromium/files/patch-chrome_renderer_pepper_pepper__flash__font__file__host.h
+++ b/www/chromium/files/patch-chrome_renderer_pepper_pepper__flash__font__file__host.h
@@ -1,4 +1,4 @@
---- chrome/renderer/pepper/pepper_flash_font_file_host.h.orig 2017-01-26 00:49:10 UTC
+--- chrome/renderer/pepper/pepper_flash_font_file_host.h.orig 2017-04-19 19:06:31 UTC
+++ chrome/renderer/pepper/pepper_flash_font_file_host.h
@@ -14,7 +14,7 @@
#include "ppapi/c/private/pp_private_font_charset.h"
diff --git a/www/chromium/files/patch-chrome_test_BUILD.gn b/www/chromium/files/patch-chrome_test_BUILD.gn
index 617c959..1cea591 100644
--- a/www/chromium/files/patch-chrome_test_BUILD.gn
+++ b/www/chromium/files/patch-chrome_test_BUILD.gn
@@ -1,6 +1,6 @@
---- chrome/test/BUILD.gn.orig 2017-03-09 20:04:30 UTC
+--- chrome/test/BUILD.gn.orig 2017-04-19 19:06:31 UTC
+++ chrome/test/BUILD.gn
-@@ -193,7 +193,7 @@ static_library("test_support") {
+@@ -190,7 +190,7 @@ static_library("test_support") {
]
}
@@ -9,7 +9,7 @@
public_deps += [ "//crypto:platform" ]
}
if (is_mac) {
-@@ -451,7 +451,7 @@ if (!is_android) {
+@@ -455,7 +455,7 @@ if (!is_android) {
"$root_out_dir/test_page.css.mock-http-headers",
"$root_out_dir/ui_test.pak",
]
@@ -18,7 +18,7 @@
data += [
"$root_out_dir/chrome_100_percent.pak",
"$root_out_dir/chrome_200_percent.pak",
-@@ -460,7 +460,7 @@ if (!is_android) {
+@@ -464,7 +464,7 @@ if (!is_android) {
"$root_out_dir/resources.pak",
]
}
@@ -27,8 +27,8 @@
data += [ "$root_out_dir/libppapi_tests.so" ]
}
-@@ -577,7 +577,7 @@ if (!is_android) {
- "../browser/ui/views/payments/payment_request_interactive_uitest_base.h",
+@@ -584,7 +584,7 @@ if (!is_android) {
+ "../browser/ui/views/payments/payment_sheet_view_controller_interactive_uitest.cc",
]
}
- if (is_linux) {
@@ -36,7 +36,7 @@
if (!is_chromeos) {
# Desktop linux.
sources -= [
-@@ -2041,14 +2041,14 @@ test("browser_tests") {
+@@ -2048,14 +2048,14 @@ test("browser_tests") {
sources += [ "//third_party/liblouis/nacl_wrapper/liblouis_wrapper_browsertest.cc" ]
deps += [ "//chrome/browser/chromeos" ]
data_deps += [ "//third_party/liblouis:liblouis_test_data" ]
@@ -53,7 +53,7 @@
sources += [ "../browser/nacl_host/test/nacl_gdb_browsertest.cc" ]
data_deps += [ "//chrome/browser/nacl_host/test:mock_nacl_gdb" ]
}
-@@ -2060,7 +2060,7 @@ test("browser_tests") {
+@@ -2067,7 +2067,7 @@ test("browser_tests") {
configs +=
[ "//build/config/win:default_large_module_incremental_linking" ]
}
@@ -62,7 +62,7 @@
data_deps += [ "//components/nacl/loader:nacl_helper" ]
if (enable_nacl_nonsfi) {
-@@ -2170,7 +2170,7 @@ test("browser_tests") {
+@@ -2186,7 +2186,7 @@ test("browser_tests") {
}
}
@@ -71,7 +71,7 @@
# Set rpath to find the CDM adapter even in a non-component build.
configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
}
-@@ -2391,7 +2391,7 @@ test("browser_tests") {
+@@ -2412,7 +2412,7 @@ test("browser_tests") {
if (toolkit_views) {
sources -= [ "../browser/ui/views/select_file_dialog_extension_browsertest.cc" ]
}
@@ -80,7 +80,7 @@
sources +=
[ "../browser/ui/views/ime/input_ime_apitest_nonchromeos.cc" ]
}
-@@ -2568,7 +2568,7 @@ test("browser_tests") {
+@@ -2594,7 +2594,7 @@ test("browser_tests") {
"../browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc",
]
}
@@ -89,8 +89,8 @@
sources += [
# Tests for non mobile and non CrOS (includes Linux, Win, Mac).
"../browser/metrics/desktop_session_duration/audible_contents_tracker_browsertest.cc",
-@@ -2746,7 +2746,7 @@ if (!is_android) {
- "$root_out_dir/pyproto/",
+@@ -2772,7 +2772,7 @@ if (!is_android) {
+ "//testing/xvfb.py",
]
- if (is_linux || is_win) {
@@ -98,7 +98,7 @@
data += [
"$root_out_dir/chrome_100_percent.pak",
"$root_out_dir/chrome_200_percent.pak",
-@@ -3439,7 +3439,7 @@ test("unit_tests") {
+@@ -3471,7 +3471,7 @@ test("unit_tests") {
"$root_out_dir/resources.pak",
]
}
@@ -107,7 +107,7 @@
data += [ "$root_out_dir/chrome_200_percent.pak" ]
}
if (is_win) {
-@@ -4177,7 +4177,7 @@ test("unit_tests") {
+@@ -4198,7 +4198,7 @@ test("unit_tests") {
"//ui/wm",
]
}
@@ -116,7 +116,7 @@
sources += [
"../browser/password_manager/native_backend_kwallet_x_unittest.cc",
"../browser/shell_integration_linux_unittest.cc",
-@@ -4197,7 +4197,7 @@ test("unit_tests") {
+@@ -4218,7 +4218,7 @@ test("unit_tests") {
if (use_gio) {
deps += [ "//build/linux/libgio" ]
}
@@ -125,7 +125,7 @@
deps += [ "//chrome/browser/ui/libgtkui" ]
}
-@@ -4456,18 +4456,18 @@ test("unit_tests") {
+@@ -4487,18 +4487,18 @@ test("unit_tests") {
"//components/os_crypt:gnome_keyring_direct",
]
}
@@ -147,7 +147,7 @@
ldflags = [ "-Wl,--strip-debug" ]
}
if (is_mac) {
-@@ -4956,7 +4956,7 @@ if (safe_browsing_mode == 1 && is_mac) {
+@@ -4996,7 +4996,7 @@ if (safe_browsing_mode == 1 && is_mac) {
}
}
@@ -156,12 +156,12 @@
# TODO(609855): Make this compile on Android and run on the bots.
test("chrome_app_unittests") {
sources = [
-@@ -4982,7 +4982,7 @@ if (!is_android) {
+@@ -5021,7 +5021,7 @@ if (!is_android) {
}
}
--if (!is_android && !is_ios && !is_chromecast) {
-+if (!is_android && !is_ios && !is_chromecast && !is_bsd) {
+-if (!is_android && !is_chromecast) {
++if (!is_android && !is_chromecast && !is_bsd) {
test("performance_browser_tests") {
sources = [
"../app/chrome_version.rc.version",
diff --git a/www/chromium/files/patch-chrome_test_base_in__process__browser__test.cc b/www/chromium/files/patch-chrome_test_base_in__process__browser__test.cc
index 6df160f..96e89ff 100644
--- a/www/chromium/files/patch-chrome_test_base_in__process__browser__test.cc
+++ b/www/chromium/files/patch-chrome_test_base_in__process__browser__test.cc
@@ -1,6 +1,6 @@
---- chrome/test/base/in_process_browser_test.cc.orig 2017-01-26 00:49:10 UTC
+--- chrome/test/base/in_process_browser_test.cc.orig 2017-04-19 19:06:31 UTC
+++ chrome/test/base/in_process_browser_test.cc
-@@ -93,6 +93,10 @@
+@@ -94,6 +94,10 @@
namespace {
diff --git a/www/chromium/files/patch-chrome_test_base_testing__browser__process.h b/www/chromium/files/patch-chrome_test_base_testing__browser__process.h
index 88da806..f52d163 100644
--- a/www/chromium/files/patch-chrome_test_base_testing__browser__process.h
+++ b/www/chromium/files/patch-chrome_test_base_testing__browser__process.h
@@ -1,6 +1,6 @@
---- chrome/test/base/testing_browser_process.h.orig 2017-01-26 00:49:10 UTC
+--- chrome/test/base/testing_browser_process.h.orig 2017-04-19 19:06:31 UTC
+++ chrome/test/base/testing_browser_process.h
-@@ -107,8 +107,8 @@ class TestingBrowserProcess : public Bro
+@@ -108,8 +108,8 @@ class TestingBrowserProcess : public Bro
DownloadStatusUpdater* download_status_updater() override;
DownloadRequestLimiter* download_request_limiter() override;
diff --git a/www/chromium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc b/www/chromium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc
index ae75d42..c329a05 100644
--- a/www/chromium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc
+++ b/www/chromium/files/patch-chrome_test_chromedriver_chrome_chrome__finder.cc
@@ -1,4 +1,4 @@
---- chrome/test/chromedriver/chrome/chrome_finder.cc.orig 2017-01-26 00:49:10 UTC
+--- chrome/test/chromedriver/chrome/chrome_finder.cc.orig 2017-04-19 19:06:31 UTC
+++ chrome/test/chromedriver/chrome/chrome_finder.cc
@@ -45,7 +45,7 @@ void GetApplicationDirs(std::vector<base
installation_locations[i].Append(L"Chromium\\Application"));
diff --git a/www/chromium/files/patch-chromecast_BUILD.gn b/www/chromium/files/patch-chromecast_BUILD.gn
index d013abad..ac78333 100644
--- a/www/chromium/files/patch-chromecast_BUILD.gn
+++ b/www/chromium/files/patch-chromecast_BUILD.gn
@@ -1,7 +1,7 @@
---- chromecast/BUILD.gn.orig 2017-01-26 00:49:11 UTC
+--- chromecast/BUILD.gn.orig 2017-04-19 19:06:32 UTC
+++ chromecast/BUILD.gn
-@@ -51,7 +51,7 @@ cast_test_group("cast_tests") {
- tests += [ "//gpu:gpu_unittests" ]
+@@ -55,7 +55,7 @@ cast_test_group("cast_tests") {
+ }
}
- if (is_linux) {
diff --git a/www/chromium/files/patch-chromecast_browser_BUILD.gn b/www/chromium/files/patch-chromecast_browser_BUILD.gn
index b8f080f..0012a2e 100644
--- a/www/chromium/files/patch-chromecast_browser_BUILD.gn
+++ b/www/chromium/files/patch-chromecast_browser_BUILD.gn
@@ -1,6 +1,6 @@
---- chromecast/browser/BUILD.gn.orig 2017-03-09 20:04:31 UTC
+--- chromecast/browser/BUILD.gn.orig 2017-04-19 19:06:32 UTC
+++ chromecast/browser/BUILD.gn
-@@ -118,7 +118,7 @@ source_set("browser") {
+@@ -125,7 +125,7 @@ source_set("browser") {
"//ui/gl",
]
diff --git a/www/chromium/files/patch-chromecast_browser_cast__browser__main__parts.cc b/www/chromium/files/patch-chromecast_browser_cast__browser__main__parts.cc
index 41d1e4d..55f4ba2 100644
--- a/www/chromium/files/patch-chromecast_browser_cast__browser__main__parts.cc
+++ b/www/chromium/files/patch-chromecast_browser_cast__browser__main__parts.cc
@@ -1,6 +1,6 @@
---- chromecast/browser/cast_browser_main_parts.cc.orig 2017-02-02 02:02:51 UTC
+--- chromecast/browser/cast_browser_main_parts.cc.orig 2017-04-19 19:06:32 UTC
+++ chromecast/browser/cast_browser_main_parts.cc
-@@ -67,7 +67,7 @@
+@@ -70,7 +70,7 @@
#include <signal.h>
#include <sys/prctl.h>
#endif
@@ -9,7 +9,7 @@
#include <fontconfig/fontconfig.h>
#endif
-@@ -226,7 +226,7 @@ DefaultCommandLineSwitch g_default_switc
+@@ -229,7 +229,7 @@ DefaultCommandLineSwitch g_default_switc
#if BUILDFLAG(IS_CAST_AUDIO_ONLY)
{ switches::kDisableGpu, "" },
#endif
@@ -18,7 +18,7 @@
#if defined(ARCH_CPU_X86_FAMILY)
// This is needed for now to enable the x11 Ozone platform to work with
// current Linux/NVidia OpenGL drivers.
-@@ -366,7 +366,7 @@ void CastBrowserMainParts::PostMainMessa
+@@ -371,7 +371,7 @@ void CastBrowserMainParts::PostMainMessa
}
void CastBrowserMainParts::ToolkitInitialized() {
diff --git a/www/chromium/files/patch-chromecast_browser_cast__content__browser__client.cc b/www/chromium/files/patch-chromecast_browser_cast__content__browser__client.cc
index c36a169..49ab113 100644
--- a/www/chromium/files/patch-chromecast_browser_cast__content__browser__client.cc
+++ b/www/chromium/files/patch-chromecast_browser_cast__content__browser__client.cc
@@ -1,6 +1,6 @@
---- chromecast/browser/cast_content_browser_client.cc.orig 2017-03-09 20:04:31 UTC
+--- chromecast/browser/cast_content_browser_client.cc.orig 2017-04-19 19:06:32 UTC
+++ chromecast/browser/cast_content_browser_client.cc
-@@ -285,7 +285,7 @@ void CastContentBrowserClient::AppendExt
+@@ -298,7 +298,7 @@ void CastContentBrowserClient::AppendExt
command_line->AppendSwitch(switches::kAllowHiddenMediaPlayback);
}
diff --git a/www/chromium/files/patch-chromecast_browser_metrics_BUILD.gn b/www/chromium/files/patch-chromecast_browser_metrics_BUILD.gn
index 6634a76..367e3f1 100644
--- a/www/chromium/files/patch-chromecast_browser_metrics_BUILD.gn
+++ b/www/chromium/files/patch-chromecast_browser_metrics_BUILD.gn
@@ -1,4 +1,4 @@
---- chromecast/browser/metrics/BUILD.gn.orig 2017-01-26 00:49:11 UTC
+--- chromecast/browser/metrics/BUILD.gn.orig 2017-04-19 19:06:32 UTC
+++ chromecast/browser/metrics/BUILD.gn
@@ -26,7 +26,7 @@ source_set("metrics") {
"//content/public/common",
diff --git a/www/chromium/files/patch-chromecast_crash_BUILD.gn b/www/chromium/files/patch-chromecast_crash_BUILD.gn
index 584f3bc..875145c 100644
--- a/www/chromium/files/patch-chromecast_crash_BUILD.gn
+++ b/www/chromium/files/patch-chromecast_crash_BUILD.gn
@@ -1,4 +1,4 @@
---- chromecast/crash/BUILD.gn.orig 2017-01-26 00:49:11 UTC
+--- chromecast/crash/BUILD.gn.orig 2017-04-19 19:06:32 UTC
+++ chromecast/crash/BUILD.gn
@@ -78,7 +78,7 @@ source_set("test_support") {
]
diff --git a/www/chromium/files/patch-components_BUILD.gn b/www/chromium/files/patch-components_BUILD.gn
index 13c8854..96ed75a 100644
--- a/www/chromium/files/patch-components_BUILD.gn
+++ b/www/chromium/files/patch-components_BUILD.gn
@@ -1,6 +1,6 @@
---- components/BUILD.gn.orig 2017-03-09 20:04:31 UTC
+--- components/BUILD.gn.orig 2017-04-19 19:06:32 UTC
+++ components/BUILD.gn
-@@ -174,8 +174,8 @@ test("components_unittests") {
+@@ -177,8 +177,8 @@ test("components_unittests") {
"//components/certificate_reporting:unit_tests",
"//components/certificate_transparency:unit_tests",
"//components/contextual_search:unit_tests",
diff --git a/www/chromium/files/patch-components_autofill_content_renderer_password__form__conversion__utils.cc b/www/chromium/files/patch-components_autofill_content_renderer_password__form__conversion__utils.cc
index 4fe8033..b666b91 100644
--- a/www/chromium/files/patch-components_autofill_content_renderer_password__form__conversion__utils.cc
+++ b/www/chromium/files/patch-components_autofill_content_renderer_password__form__conversion__utils.cc
@@ -1,4 +1,4 @@
---- components/autofill/content/renderer/password_form_conversion_utils.cc.orig 2017-01-26 00:49:11 UTC
+--- components/autofill/content/renderer/password_form_conversion_utils.cc.orig 2017-04-19 19:06:32 UTC
+++ components/autofill/content/renderer/password_form_conversion_utils.cc
@@ -28,7 +28,11 @@
#include "third_party/WebKit/public/web/WebFormControlElement.h"
diff --git a/www/chromium/files/patch-components_autofill_core_browser_autofill__experiments.cc b/www/chromium/files/patch-components_autofill_core_browser_autofill__experiments.cc
new file mode 100644
index 0000000..b6df655
--- /dev/null
+++ b/www/chromium/files/patch-components_autofill_core_browser_autofill__experiments.cc
@@ -0,0 +1,11 @@
+--- components/autofill/core/browser/autofill_experiments.cc.orig 2017-04-19 19:06:32 UTC
++++ components/autofill/core/browser/autofill_experiments.cc
+@@ -151,7 +151,7 @@ unsigned int GetPopupMargin() {
+ }
+
+ bool OfferStoreUnmaskedCards() {
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+ // The checkbox can be forced on with a flag, but by default we don't store
+ // on Linux due to lack of system keychain integration. See crbug.com/162735
+ return base::CommandLine::ForCurrentProcess()->HasSwitch(
diff --git a/www/chromium/files/patch-components_content__settings_core_browser_website__settings__registry.cc b/www/chromium/files/patch-components_content__settings_core_browser_website__settings__registry.cc
index fae97a7..6dc37c2 100644
--- a/www/chromium/files/patch-components_content__settings_core_browser_website__settings__registry.cc
+++ b/www/chromium/files/patch-components_content__settings_core_browser_website__settings__registry.cc
@@ -1,4 +1,4 @@
---- components/content_settings/core/browser/website_settings_registry.cc.orig 2017-01-26 00:49:11 UTC
+--- components/content_settings/core/browser/website_settings_registry.cc.orig 2017-04-19 19:06:32 UTC
+++ components/content_settings/core/browser/website_settings_registry.cc
@@ -88,6 +88,9 @@ const WebsiteSettingsInfo* WebsiteSettin
// doesn't allow the settings to be managed in the same way. See
diff --git a/www/chromium/files/patch-components_content__settings_core_browser_website__settings__registry.h b/www/chromium/files/patch-components_content__settings_core_browser_website__settings__registry.h
index e32baa3..de95fba 100644
--- a/www/chromium/files/patch-components_content__settings_core_browser_website__settings__registry.h
+++ b/www/chromium/files/patch-components_content__settings_core_browser_website__settings__registry.h
@@ -1,4 +1,4 @@
---- components/content_settings/core/browser/website_settings_registry.h.orig 2017-01-26 00:49:11 UTC
+--- components/content_settings/core/browser/website_settings_registry.h.orig 2017-04-19 19:06:32 UTC
+++ components/content_settings/core/browser/website_settings_registry.h
@@ -36,10 +36,11 @@ class WebsiteSettingsRegistry {
PLATFORM_MAC = 1 << 3,
diff --git a/www/chromium/files/patch-components_cookie__config_cookie__store__util.cc b/www/chromium/files/patch-components_cookie__config_cookie__store__util.cc
index 39862fc..3aaab85 100644
--- a/www/chromium/files/patch-components_cookie__config_cookie__store__util.cc
+++ b/www/chromium/files/patch-components_cookie__config_cookie__store__util.cc
@@ -1,4 +1,4 @@
---- components/cookie_config/cookie_store_util.cc.orig 2017-01-26 00:49:11 UTC
+--- components/cookie_config/cookie_store_util.cc.orig 2017-04-19 19:06:32 UTC
+++ components/cookie_config/cookie_store_util.cc
@@ -11,7 +11,7 @@
diff --git a/www/chromium/files/patch-components_crash_content_app_BUILD.gn b/www/chromium/files/patch-components_crash_content_app_BUILD.gn
index 20916a1..a292bd4 100644
--- a/www/chromium/files/patch-components_crash_content_app_BUILD.gn
+++ b/www/chromium/files/patch-components_crash_content_app_BUILD.gn
@@ -1,6 +1,6 @@
---- components/crash/content/app/BUILD.gn.orig 2017-03-09 20:04:31 UTC
+--- components/crash/content/app/BUILD.gn.orig 2017-04-19 19:06:32 UTC
+++ components/crash/content/app/BUILD.gn
-@@ -154,7 +154,7 @@ source_set("app_non_mac_win") {
+@@ -153,7 +153,7 @@ source_set("app_non_mac_win") {
"//breakpad:breakpad_handler",
"//sandbox",
]
diff --git a/www/chromium/files/patch-components_crash_content_browser_BUILD.gn b/www/chromium/files/patch-components_crash_content_browser_BUILD.gn
index 0c6ebe1..dcdecb6 100644
--- a/www/chromium/files/patch-components_crash_content_browser_BUILD.gn
+++ b/www/chromium/files/patch-components_crash_content_browser_BUILD.gn
@@ -1,4 +1,4 @@
---- components/crash/content/browser/BUILD.gn.orig 2017-01-26 00:49:11 UTC
+--- components/crash/content/browser/BUILD.gn.orig 2017-04-19 19:06:32 UTC
+++ components/crash/content/browser/BUILD.gn
@@ -16,7 +16,7 @@ source_set("browser") {
diff --git a/www/chromium/files/patch-components_drive_drive__api__util.cc b/www/chromium/files/patch-components_drive_drive__api__util.cc
index c399953..cbd7140 100644
--- a/www/chromium/files/patch-components_drive_drive__api__util.cc
+++ b/www/chromium/files/patch-components_drive_drive__api__util.cc
@@ -1,4 +1,4 @@
---- components/drive/drive_api_util.cc.orig 2017-01-26 00:49:11 UTC
+--- components/drive/drive_api_util.cc.orig 2017-04-19 19:06:32 UTC
+++ components/drive/drive_api_util.cc
@@ -22,7 +22,11 @@
#include "google_apis/drive/drive_api_parser.h"
diff --git a/www/chromium/files/patch-components_feedback_anonymizer__tool.cc b/www/chromium/files/patch-components_feedback_anonymizer__tool.cc
index 910d8b2..2fc696b 100644
--- a/www/chromium/files/patch-components_feedback_anonymizer__tool.cc
+++ b/www/chromium/files/patch-components_feedback_anonymizer__tool.cc
@@ -1,4 +1,4 @@
---- components/feedback/anonymizer_tool.cc.orig 2017-01-26 00:49:11 UTC
+--- components/feedback/anonymizer_tool.cc.orig 2017-04-19 19:06:32 UTC
+++ components/feedback/anonymizer_tool.cc
@@ -10,7 +10,11 @@
#include "base/strings/string_number_conversions.h"
diff --git a/www/chromium/files/patch-components_flags__ui_flags__state.cc b/www/chromium/files/patch-components_flags__ui_flags__state.cc
index e7f7e57..92b0f5b 100644
--- a/www/chromium/files/patch-components_flags__ui_flags__state.cc
+++ b/www/chromium/files/patch-components_flags__ui_flags__state.cc
@@ -1,6 +1,6 @@
---- components/flags_ui/flags_state.cc.orig 2017-01-26 00:49:11 UTC
+--- components/flags_ui/flags_state.cc.orig 2017-04-19 19:06:32 UTC
+++ components/flags_ui/flags_state.cc
-@@ -544,7 +544,7 @@ int FlagsState::GetCurrentPlatform() {
+@@ -566,7 +566,7 @@ int FlagsState::GetCurrentPlatform() {
return kOsWin;
#elif defined(OS_CHROMEOS) // Needs to be before the OS_LINUX check.
return kOsCrOS;
diff --git a/www/chromium/files/patch-components_gcm__driver_gcm__client.h b/www/chromium/files/patch-components_gcm__driver_gcm__client.h
index 5d7a39d..e05ba84 100644
--- a/www/chromium/files/patch-components_gcm__driver_gcm__client.h
+++ b/www/chromium/files/patch-components_gcm__driver_gcm__client.h
@@ -1,6 +1,6 @@
---- components/gcm_driver/gcm_client.h.orig 2017-03-09 20:04:31 UTC
+--- components/gcm_driver/gcm_client.h.orig 2017-04-19 19:06:32 UTC
+++ components/gcm_driver/gcm_client.h
-@@ -78,6 +78,7 @@ class GCMClient {
+@@ -82,6 +82,7 @@ class GCMClient {
PLATFORM_CROS,
PLATFORM_IOS,
PLATFORM_ANDROID,
diff --git a/www/chromium/files/patch-components_gcm__driver_gcm__client__impl.cc b/www/chromium/files/patch-components_gcm__driver_gcm__client__impl.cc
index ebbc9da..3c9641e 100644
--- a/www/chromium/files/patch-components_gcm__driver_gcm__client__impl.cc
+++ b/www/chromium/files/patch-components_gcm__driver_gcm__client__impl.cc
@@ -1,4 +1,4 @@
---- components/gcm_driver/gcm_client_impl.cc.orig 2017-01-26 00:49:11 UTC
+--- components/gcm_driver/gcm_client_impl.cc.orig 2017-04-19 19:06:32 UTC
+++ components/gcm_driver/gcm_client_impl.cc
@@ -136,6 +136,9 @@ void ToCheckinProtoVersion(
case GCMClient::PLATFORM_CROS:
diff --git a/www/chromium/files/patch-components_json__schema_json__schema__validator.cc b/www/chromium/files/patch-components_json__schema_json__schema__validator.cc
index d13e247..1df9422 100644
--- a/www/chromium/files/patch-components_json__schema_json__schema__validator.cc
+++ b/www/chromium/files/patch-components_json__schema_json__schema__validator.cc
@@ -1,6 +1,6 @@
---- components/json_schema/json_schema_validator.cc.orig 2017-01-26 00:49:11 UTC
+--- components/json_schema/json_schema_validator.cc.orig 2017-04-19 19:06:32 UTC
+++ components/json_schema/json_schema_validator.cc
-@@ -21,7 +21,11 @@
+@@ -20,7 +20,11 @@
#include "base/strings/stringprintf.h"
#include "base/values.h"
#include "components/json_schema/json_schema_constants.h"
diff --git a/www/chromium/files/patch-components_keyed__service_core_dependency__graph__unittest.cc b/www/chromium/files/patch-components_keyed__service_core_dependency__graph__unittest.cc
index 7b98bee..8f8989e 100644
--- a/www/chromium/files/patch-components_keyed__service_core_dependency__graph__unittest.cc
+++ b/www/chromium/files/patch-components_keyed__service_core_dependency__graph__unittest.cc
@@ -1,4 +1,4 @@
---- components/keyed_service/core/dependency_graph_unittest.cc.orig 2017-01-26 00:49:11 UTC
+--- components/keyed_service/core/dependency_graph_unittest.cc.orig 2017-04-19 19:06:32 UTC
+++ components/keyed_service/core/dependency_graph_unittest.cc
@@ -9,7 +9,11 @@
#include "components/keyed_service/core/dependency_graph.h"
diff --git a/www/chromium/files/patch-components_metrics_BUILD.gn b/www/chromium/files/patch-components_metrics_BUILD.gn
index bad50b3..281a7cf 100644
--- a/www/chromium/files/patch-components_metrics_BUILD.gn
+++ b/www/chromium/files/patch-components_metrics_BUILD.gn
@@ -1,6 +1,6 @@
---- components/metrics/BUILD.gn.orig 2017-03-09 20:04:31 UTC
+--- components/metrics/BUILD.gn.orig 2017-04-19 19:06:32 UTC
+++ components/metrics/BUILD.gn
-@@ -107,6 +107,13 @@ static_library("metrics") {
+@@ -118,6 +118,13 @@ static_library("metrics") {
if (is_win) {
sources -= [ "machine_id_provider_stub.cc" ]
}
@@ -14,7 +14,7 @@
}
if (!is_ios) {
-@@ -282,7 +289,7 @@ static_library("test_support") {
+@@ -295,7 +302,7 @@ static_library("test_support") {
]
}
@@ -23,7 +23,7 @@
static_library("serialization") {
sources = [
"serialization/metric_sample.cc",
-@@ -342,7 +349,7 @@ source_set("unit_tests") {
+@@ -358,7 +365,7 @@ source_set("unit_tests") {
"//ui/gfx/geometry",
]
diff --git a/www/chromium/files/patch-components_metrics_drive__metrics__provider__linux.cc b/www/chromium/files/patch-components_metrics_drive__metrics__provider__linux.cc
index 6591eaa..45928cd 100644
--- a/www/chromium/files/patch-components_metrics_drive__metrics__provider__linux.cc
+++ b/www/chromium/files/patch-components_metrics_drive__metrics__provider__linux.cc
@@ -1,4 +1,4 @@
---- components/metrics/drive_metrics_provider_linux.cc.orig 2017-01-26 00:49:12 UTC
+--- components/metrics/drive_metrics_provider_linux.cc.orig 2017-04-19 19:06:32 UTC
+++ components/metrics/drive_metrics_provider_linux.cc
@@ -4,7 +4,13 @@
diff --git a/www/chromium/files/patch-components_metrics_system__memory__stats__recorder__linux.cc b/www/chromium/files/patch-components_metrics_system__memory__stats__recorder__linux.cc
index 5a68fbd..ec3f152 100644
--- a/www/chromium/files/patch-components_metrics_system__memory__stats__recorder__linux.cc
+++ b/www/chromium/files/patch-components_metrics_system__memory__stats__recorder__linux.cc
@@ -1,4 +1,4 @@
---- components/metrics/system_memory_stats_recorder_linux.cc.orig 2017-01-26 00:49:12 UTC
+--- components/metrics/system_memory_stats_recorder_linux.cc.orig 2017-04-19 19:06:32 UTC
+++ components/metrics/system_memory_stats_recorder_linux.cc
@@ -30,6 +30,7 @@ namespace metrics {
UMA_HISTOGRAM_LINEAR(name, sample, 2500, 50)
diff --git a/www/chromium/files/patch-components_neterror_resources_neterror.js b/www/chromium/files/patch-components_neterror_resources_neterror.js
index 9589a18..1b394b5 100644
--- a/www/chromium/files/patch-components_neterror_resources_neterror.js
+++ b/www/chromium/files/patch-components_neterror_resources_neterror.js
@@ -1,4 +1,4 @@
---- components/neterror/resources/neterror.js.orig 2017-03-09 20:04:31 UTC
+--- components/neterror/resources/neterror.js.orig 2017-04-19 19:06:32 UTC
+++ components/neterror/resources/neterror.js
@@ -150,7 +150,7 @@ function setUpCachedButton(buttonStrings
}
diff --git a/www/chromium/files/patch-components_os__crypt_os__crypt.h b/www/chromium/files/patch-components_os__crypt_os__crypt.h
index 5b6f69d..5eb2565 100644
--- a/www/chromium/files/patch-components_os__crypt_os__crypt.h
+++ b/www/chromium/files/patch-components_os__crypt_os__crypt.h
@@ -1,4 +1,4 @@
---- components/os_crypt/os_crypt.h.orig 2017-01-26 00:49:12 UTC
+--- components/os_crypt/os_crypt.h.orig 2017-04-19 19:06:32 UTC
+++ components/os_crypt/os_crypt.h
@@ -13,7 +13,7 @@
#include "base/strings/string16.h"
diff --git a/www/chromium/files/patch-components_password__manager_core_browser_import_csv__reader.cc b/www/chromium/files/patch-components_password__manager_core_browser_import_csv__reader.cc
index 9b1a3a9..5aed223 100644
--- a/www/chromium/files/patch-components_password__manager_core_browser_import_csv__reader.cc
+++ b/www/chromium/files/patch-components_password__manager_core_browser_import_csv__reader.cc
@@ -1,4 +1,4 @@
---- components/password_manager/core/browser/import/csv_reader.cc.orig 2017-01-26 00:49:12 UTC
+--- components/password_manager/core/browser/import/csv_reader.cc.orig 2017-04-19 19:06:32 UTC
+++ components/password_manager/core/browser/import/csv_reader.cc
@@ -9,7 +9,11 @@
#include "base/logging.h"
diff --git a/www/chromium/files/patch-components_plugins_renderer_BUILD.gn b/www/chromium/files/patch-components_plugins_renderer_BUILD.gn
index 13bb3ef..95a3a2f 100644
--- a/www/chromium/files/patch-components_plugins_renderer_BUILD.gn
+++ b/www/chromium/files/patch-components_plugins_renderer_BUILD.gn
@@ -1,4 +1,4 @@
---- components/plugins/renderer/BUILD.gn.orig 2017-03-09 20:04:31 UTC
+--- components/plugins/renderer/BUILD.gn.orig 2017-04-19 19:06:33 UTC
+++ components/plugins/renderer/BUILD.gn
@@ -20,6 +20,7 @@ static_library("renderer") {
}
diff --git a/www/chromium/files/patch-components_plugins_renderer_plugin__placeholder.cc b/www/chromium/files/patch-components_plugins_renderer_plugin__placeholder.cc
index d02d0ef..e91036d 100644
--- a/www/chromium/files/patch-components_plugins_renderer_plugin__placeholder.cc
+++ b/www/chromium/files/patch-components_plugins_renderer_plugin__placeholder.cc
@@ -1,4 +1,4 @@
---- components/plugins/renderer/plugin_placeholder.cc.orig 2017-01-26 00:49:12 UTC
+--- components/plugins/renderer/plugin_placeholder.cc.orig 2017-04-19 19:06:33 UTC
+++ components/plugins/renderer/plugin_placeholder.cc
@@ -11,7 +11,11 @@
#include "gin/object_template_builder.h"
diff --git a/www/chromium/files/patch-components_policy_BUILD.gn b/www/chromium/files/patch-components_policy_BUILD.gn
index 8492f29..5859d03 100644
--- a/www/chromium/files/patch-components_policy_BUILD.gn
+++ b/www/chromium/files/patch-components_policy_BUILD.gn
@@ -1,4 +1,4 @@
---- components/policy/BUILD.gn.orig 2017-03-09 20:04:31 UTC
+--- components/policy/BUILD.gn.orig 2017-04-19 19:06:33 UTC
+++ components/policy/BUILD.gn
@@ -16,6 +16,7 @@ assert(!is_ios, "Policy should not be re
gen_policy_templates_common = true
@@ -8,7 +8,7 @@
gen_policy_templates_android = is_android
gen_policy_templates_mac = is_mac
-@@ -128,7 +129,7 @@ grit("grit_policy_templates") {
+@@ -159,7 +160,7 @@ grit("grit_policy_templates") {
outputs += policy_templates_android_outputs
defines += [ "gen_policy_templates_android" ]
}
diff --git a/www/chromium/files/patch-components_policy_core_common_schema.cc b/www/chromium/files/patch-components_policy_core_common_schema.cc
index 920d9f9..ab668c4 100644
--- a/www/chromium/files/patch-components_policy_core_common_schema.cc
+++ b/www/chromium/files/patch-components_policy_core_common_schema.cc
@@ -1,4 +1,4 @@
---- components/policy/core/common/schema.cc.orig 2017-01-26 00:49:12 UTC
+--- components/policy/core/common/schema.cc.orig 2017-04-19 19:06:33 UTC
+++ components/policy/core/common/schema.cc
@@ -21,7 +21,11 @@
#include "components/json_schema/json_schema_constants.h"
diff --git a/www/chromium/files/patch-components_policy_resources_policy__templates.json b/www/chromium/files/patch-components_policy_resources_policy__templates.json
index 7b07088..ee2af29 100644
--- a/www/chromium/files/patch-components_policy_resources_policy__templates.json
+++ b/www/chromium/files/patch-components_policy_resources_policy__templates.json
@@ -1,6 +1,6 @@
---- components/policy/resources/policy_templates.json.orig 2017-03-09 20:04:31 UTC
+--- components/policy/resources/policy_templates.json.orig 2017-04-19 19:06:33 UTC
+++ components/policy/resources/policy_templates.json
-@@ -927,7 +927,7 @@
+@@ -964,7 +964,7 @@
'name': 'RemoteAccessHostMatchUsername',
'type': 'main',
'schema': { 'type': 'boolean' },
@@ -9,7 +9,7 @@
'features': {
'dynamic_refresh': True,
'per_profile': False,
-@@ -2106,7 +2106,7 @@
+@@ -2139,7 +2139,7 @@
'name': 'GSSAPILibraryName',
'type': 'string',
'schema': { 'type': 'string' },
@@ -18,7 +18,7 @@
'features': {
'dynamic_refresh': False,
'per_profile': False,
-@@ -4782,7 +4782,7 @@
+@@ -4815,7 +4815,7 @@
'name': 'RequireOnlineRevocationChecksForLocalAnchors',
'type': 'main',
'schema': { 'type': 'boolean' },
@@ -27,7 +27,7 @@
'features': {
'dynamic_refresh': True,
'per_profile': False,
-@@ -5671,7 +5671,7 @@
+@@ -5723,7 +5723,7 @@
'name': 'BackgroundModeEnabled',
'type': 'main',
'schema': { 'type': 'boolean' },
@@ -36,7 +36,7 @@
'features': {
'can_be_recommended': True,
'dynamic_refresh': True,
-@@ -6198,7 +6198,7 @@
+@@ -6250,7 +6250,7 @@
'name': 'FullscreenAllowed',
'type': 'main',
'schema': { 'type': 'boolean' },
diff --git a/www/chromium/files/patch-components_policy_tools_generate__policy__source.py b/www/chromium/files/patch-components_policy_tools_generate__policy__source.py
index 5e392e7..9ce300c 100644
--- a/www/chromium/files/patch-components_policy_tools_generate__policy__source.py
+++ b/www/chromium/files/patch-components_policy_tools_generate__policy__source.py
@@ -1,4 +1,4 @@
---- components/policy/tools/generate_policy_source.py.orig 2017-03-09 20:04:31 UTC
+--- components/policy/tools/generate_policy_source.py.orig 2017-04-19 19:06:33 UTC
+++ components/policy/tools/generate_policy_source.py
@@ -103,7 +103,7 @@ class PolicyDetails:
if platform.startswith('chrome.'):
diff --git a/www/chromium/files/patch-components_storage__monitor_BUILD.gn b/www/chromium/files/patch-components_storage__monitor_BUILD.gn
index 1f107d4..e5cdb68 100644
--- a/www/chromium/files/patch-components_storage__monitor_BUILD.gn
+++ b/www/chromium/files/patch-components_storage__monitor_BUILD.gn
@@ -1,4 +1,4 @@
---- components/storage_monitor/BUILD.gn.orig 2017-01-26 00:49:12 UTC
+--- components/storage_monitor/BUILD.gn.orig 2017-04-19 19:06:33 UTC
+++ components/storage_monitor/BUILD.gn
@@ -65,6 +65,21 @@ static_library("storage_monitor") {
]
diff --git a/www/chromium/files/patch-components_storage__monitor_storage__monitor.cc b/www/chromium/files/patch-components_storage__monitor_storage__monitor.cc
index ae1f8a3..4886d38 100644
--- a/www/chromium/files/patch-components_storage__monitor_storage__monitor.cc
+++ b/www/chromium/files/patch-components_storage__monitor_storage__monitor.cc
@@ -1,4 +1,4 @@
---- components/storage_monitor/storage_monitor.cc.orig 2017-01-26 00:49:12 UTC
+--- components/storage_monitor/storage_monitor.cc.orig 2017-04-19 19:06:33 UTC
+++ components/storage_monitor/storage_monitor.cc
@@ -85,6 +85,7 @@ std::vector<StorageInfo> StorageMonitor:
diff --git a/www/chromium/files/patch-components_storage__monitor_storage__monitor__freebsd.cc b/www/chromium/files/patch-components_storage__monitor_storage__monitor__freebsd.cc
index 497dc72..62c22bc 100644
--- a/www/chromium/files/patch-components_storage__monitor_storage__monitor__freebsd.cc
+++ b/www/chromium/files/patch-components_storage__monitor_storage__monitor__freebsd.cc
@@ -1,4 +1,4 @@
---- components/storage_monitor/storage_monitor_freebsd.cc.orig 2017-01-29 22:59:23 UTC
+--- components/storage_monitor/storage_monitor_freebsd.cc.orig 2017-04-22 13:58:19 UTC
+++ components/storage_monitor/storage_monitor_freebsd.cc
@@ -0,0 +1,101 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
diff --git a/www/chromium/files/patch-components_storage__monitor_storage__monitor__freebsd.h b/www/chromium/files/patch-components_storage__monitor_storage__monitor__freebsd.h
index d61c060..cb2113e 100644
--- a/www/chromium/files/patch-components_storage__monitor_storage__monitor__freebsd.h
+++ b/www/chromium/files/patch-components_storage__monitor_storage__monitor__freebsd.h
@@ -1,4 +1,4 @@
---- components/storage_monitor/storage_monitor_freebsd.h.orig 2017-01-29 22:59:23 UTC
+--- components/storage_monitor/storage_monitor_freebsd.h.orig 2017-04-22 13:58:19 UTC
+++ components/storage_monitor/storage_monitor_freebsd.h
@@ -0,0 +1,45 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
diff --git a/www/chromium/files/patch-components_sync_base_get__session__name.cc b/www/chromium/files/patch-components_sync_base_get__session__name.cc
index 2f344a0..380c33d 100644
--- a/www/chromium/files/patch-components_sync_base_get__session__name.cc
+++ b/www/chromium/files/patch-components_sync_base_get__session__name.cc
@@ -1,4 +1,4 @@
---- components/sync/base/get_session_name.cc.orig 2017-02-02 02:02:53 UTC
+--- components/sync/base/get_session_name.cc.orig 2017-04-19 19:06:33 UTC
+++ components/sync/base/get_session_name.cc
@@ -15,7 +15,7 @@
diff --git a/www/chromium/files/patch-components_sync_base_get__session__name__linux.cc b/www/chromium/files/patch-components_sync_base_get__session__name__linux.cc
index 8d45cc2..4fcf015 100644
--- a/www/chromium/files/patch-components_sync_base_get__session__name__linux.cc
+++ b/www/chromium/files/patch-components_sync_base_get__session__name__linux.cc
@@ -1,4 +1,4 @@
---- components/sync/base/get_session_name_linux.cc.orig 2017-02-02 02:02:53 UTC
+--- components/sync/base/get_session_name_linux.cc.orig 2017-04-19 19:06:33 UTC
+++ components/sync/base/get_session_name_linux.cc
@@ -13,8 +13,9 @@ namespace syncer {
namespace internal {
diff --git a/www/chromium/files/patch-components_tracing_child_child__memory__dump__manager__delegate__impl.cc b/www/chromium/files/patch-components_tracing_child_child__memory__dump__manager__delegate__impl.cc
new file mode 100644
index 0000000..c473b40
--- /dev/null
+++ b/www/chromium/files/patch-components_tracing_child_child__memory__dump__manager__delegate__impl.cc
@@ -0,0 +1,11 @@
+--- components/tracing/child/child_memory_dump_manager_delegate_impl.cc.orig 2017-04-19 19:06:33 UTC
++++ components/tracing/child/child_memory_dump_manager_delegate_impl.cc
+@@ -52,7 +52,7 @@ void ChildMemoryDumpManagerDelegateImpl:
+ base::trace_event::MemoryDumpManager::GetInstance()->Initialize(
+ this /* delegate */, false /* is_coordinator */);
+
+-#if !defined(OS_LINUX) && !defined(OS_NACL)
++#if !defined(OS_LINUX) && !defined(OS_NACL) && !defined(OS_BSD)
+ // On linux the browser process takes care of dumping process metrics.
+ // The child process is not allowed to do so due to BPF sandbox.
+ tracing::ProcessMetricsMemoryDumpProvider::RegisterForProcess(
diff --git a/www/chromium/files/patch-components_tracing_common_process__metrics__memory__dump__provider.cc b/www/chromium/files/patch-components_tracing_common_process__metrics__memory__dump__provider.cc
new file mode 100644
index 0000000..0665a62
--- /dev/null
+++ b/www/chromium/files/patch-components_tracing_common_process__metrics__memory__dump__provider.cc
@@ -0,0 +1,81 @@
+--- components/tracing/common/process_metrics_memory_dump_provider.cc.orig 2017-04-19 19:06:33 UTC
++++ components/tracing/common/process_metrics_memory_dump_provider.cc
+@@ -56,7 +56,7 @@ base::LazyInstance<
+ std::unique_ptr<ProcessMetricsMemoryDumpProvider>>>::Leaky
+ g_dump_providers_map = LAZY_INSTANCE_INITIALIZER;
+
+-#if defined(OS_LINUX) || defined(OS_ANDROID)
++#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
+ const char kClearPeakRssCommand[] = "5";
+
+ const uint32_t kMaxLineSize = 4096;
+@@ -190,13 +190,13 @@ bool GetResidentSizeFromStatmFile(int fd
+ return num_scanned == 1;
+ }
+
+-#endif // defined(OS_LINUX) || defined(OS_ANDROID)
++#endif // defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
+
+ std::unique_ptr<base::ProcessMetrics> CreateProcessMetrics(
+ base::ProcessId process) {
+ if (process == base::kNullProcessId)
+ return base::ProcessMetrics::CreateCurrentProcessMetrics();
+-#if defined(OS_LINUX) || defined(OS_ANDROID)
++#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
+ // Just pass ProcessId instead of handle since they are the same in linux and
+ // android.
+ return base::ProcessMetrics::CreateProcessMetrics(process);
+@@ -205,7 +205,7 @@ std::unique_ptr<base::ProcessMetrics> Cr
+ // additional information like ProcessHandle or port provider.
+ NOTREACHED();
+ return std::unique_ptr<base::ProcessMetrics>();
+-#endif // defined(OS_LINUX) || defined(OS_ANDROID)
++#endif // defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
+ }
+
+ } // namespace
+@@ -217,7 +217,7 @@ uint64_t ProcessMetricsMemoryDumpProvide
+ ProcessMetricsMemoryDumpProvider::FactoryFunction
+ ProcessMetricsMemoryDumpProvider::factory_for_testing = nullptr;
+
+-#if defined(OS_LINUX) || defined(OS_ANDROID)
++#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
+
+ // static
+ FILE* ProcessMetricsMemoryDumpProvider::proc_smaps_for_testing = nullptr;
+@@ -244,7 +244,7 @@ bool ProcessMetricsMemoryDumpProvider::D
+ pmd->set_has_process_mmaps();
+ return res;
+ }
+-#endif // defined(OS_LINUX) || defined(OS_ANDROID)
++#endif // defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
+
+ #if defined(OS_WIN)
+ bool ProcessMetricsMemoryDumpProvider::DumpProcessMemoryMaps(
+@@ -620,7 +620,7 @@ bool ProcessMetricsMemoryDumpProvider::D
+
+ #if !defined(OS_IOS)
+ peak_rss_bytes = process_metrics_->GetPeakWorkingSetSize();
+-#if defined(OS_LINUX) || defined(OS_ANDROID)
++#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
+ if (is_rss_peak_resettable_) {
+ std::string clear_refs_file =
+ "/proc/" +
+@@ -670,7 +670,7 @@ bool ProcessMetricsMemoryDumpProvider::D
+ void ProcessMetricsMemoryDumpProvider::PollFastMemoryTotal(
+ uint64_t* memory_total) {
+ *memory_total = 0;
+-#if defined(OS_LINUX) || defined(OS_ANDROID)
++#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
+ int statm_fd = fast_polling_statm_fd_for_testing;
+ if (statm_fd == -1) {
+ if (!fast_polling_statm_fd_.is_valid()) {
+@@ -698,7 +698,7 @@ void ProcessMetricsMemoryDumpProvider::P
+ }
+
+ void ProcessMetricsMemoryDumpProvider::SuspendFastMemoryPolling() {
+-#if defined(OS_LINUX) || defined(OS_ANDROID)
++#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
+ fast_polling_statm_fd_.reset();
+ #endif
+ }
diff --git a/www/chromium/files/patch-components_tracing_common_process__metrics__memory__dump__provider.h b/www/chromium/files/patch-components_tracing_common_process__metrics__memory__dump__provider.h
new file mode 100644
index 0000000..fb1e179
--- /dev/null
+++ b/www/chromium/files/patch-components_tracing_common_process__metrics__memory__dump__provider.h
@@ -0,0 +1,20 @@
+--- components/tracing/common/process_metrics_memory_dump_provider.h.orig 2017-04-19 19:06:33 UTC
++++ components/tracing/common/process_metrics_memory_dump_provider.h
+@@ -57,7 +57,7 @@ class TRACING_EXPORT ProcessMetricsMemor
+ #elif defined(OS_WIN)
+ FRIEND_TEST_ALL_PREFIXES(ProcessMetricsMemoryDumpProviderTest,
+ TestWinModuleReading);
+-#elif defined(OS_LINUX) || defined(OS_ANDROID)
++#elif defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
+ FRIEND_TEST_ALL_PREFIXES(ProcessMetricsMemoryDumpProviderTest,
+ DoubleRegister);
+ #endif
+@@ -70,7 +70,7 @@ class TRACING_EXPORT ProcessMetricsMemor
+ static uint64_t rss_bytes_for_testing;
+ static FactoryFunction factory_for_testing;
+
+-#if defined(OS_LINUX) || defined(OS_ANDROID)
++#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
+ static FILE* proc_smaps_for_testing;
+ static int fast_polling_statm_fd_for_testing;
+
diff --git a/www/chromium/files/patch-components_update__client_update__query__params.cc b/www/chromium/files/patch-components_update__client_update__query__params.cc
index 9a72e9f..747606e 100644
--- a/www/chromium/files/patch-components_update__client_update__query__params.cc
+++ b/www/chromium/files/patch-components_update__client_update__query__params.cc
@@ -1,4 +1,4 @@
---- components/update_client/update_query_params.cc.orig 2017-03-09 20:04:32 UTC
+--- components/update_client/update_query_params.cc.orig 2017-04-19 19:06:33 UTC
+++ components/update_client/update_query_params.cc
@@ -34,6 +34,8 @@ const char kOs[] =
"linux";
diff --git a/www/chromium/files/patch-components_url__matcher_regex__set__matcher.cc b/www/chromium/files/patch-components_url__matcher_regex__set__matcher.cc
index f65de46..beccba3 100644
--- a/www/chromium/files/patch-components_url__matcher_regex__set__matcher.cc
+++ b/www/chromium/files/patch-components_url__matcher_regex__set__matcher.cc
@@ -1,4 +1,4 @@
---- components/url_matcher/regex_set_matcher.cc.orig 2017-01-26 00:49:13 UTC
+--- components/url_matcher/regex_set_matcher.cc.orig 2017-04-19 19:06:33 UTC
+++ components/url_matcher/regex_set_matcher.cc
@@ -10,8 +10,13 @@
#include "base/memory/ptr_util.h"
diff --git a/www/chromium/files/patch-components_url__matcher_url__matcher__factory.cc b/www/chromium/files/patch-components_url__matcher_url__matcher__factory.cc
index e6c5860..3ead93f 100644
--- a/www/chromium/files/patch-components_url__matcher_url__matcher__factory.cc
+++ b/www/chromium/files/patch-components_url__matcher_url__matcher__factory.cc
@@ -1,4 +1,4 @@
---- components/url_matcher/url_matcher_factory.cc.orig 2017-01-26 00:49:13 UTC
+--- components/url_matcher/url_matcher_factory.cc.orig 2017-04-19 19:06:33 UTC
+++ components/url_matcher/url_matcher_factory.cc
@@ -16,7 +16,11 @@
#include "base/values.h"
diff --git a/www/chromium/files/patch-components_variations_proto_study.proto b/www/chromium/files/patch-components_variations_proto_study.proto
index 29618af..8e5b7ea 100644
--- a/www/chromium/files/patch-components_variations_proto_study.proto
+++ b/www/chromium/files/patch-components_variations_proto_study.proto
@@ -1,4 +1,4 @@
---- components/variations/proto/study.proto.orig 2017-03-09 20:04:32 UTC
+--- components/variations/proto/study.proto.orig 2017-04-19 19:06:33 UTC
+++ components/variations/proto/study.proto
@@ -188,6 +188,7 @@ message Study {
PLATFORM_CHROMEOS = 3;
diff --git a/www/chromium/files/patch-components_webcrypto_algorithms_test__helpers.cc b/www/chromium/files/patch-components_webcrypto_algorithms_test__helpers.cc
index 03cfbbe..83f5416 100644
--- a/www/chromium/files/patch-components_webcrypto_algorithms_test__helpers.cc
+++ b/www/chromium/files/patch-components_webcrypto_algorithms_test__helpers.cc
@@ -1,4 +1,4 @@
---- components/webcrypto/algorithms/test_helpers.cc.orig 2017-01-26 00:49:13 UTC
+--- components/webcrypto/algorithms/test_helpers.cc.orig 2017-04-19 19:06:33 UTC
+++ components/webcrypto/algorithms/test_helpers.cc
@@ -25,7 +25,11 @@
#include "components/webcrypto/status.h"
diff --git a/www/chromium/files/patch-content_app_BUILD.gn b/www/chromium/files/patch-content_app_BUILD.gn
index 5c6395c..af5c313 100644
--- a/www/chromium/files/patch-content_app_BUILD.gn
+++ b/www/chromium/files/patch-content_app_BUILD.gn
@@ -1,6 +1,6 @@
---- content/app/BUILD.gn.orig 2017-03-09 20:04:32 UTC
+--- content/app/BUILD.gn.orig 2017-04-19 19:06:33 UTC
+++ content/app/BUILD.gn
-@@ -70,7 +70,7 @@ template("implement_content_app") {
+@@ -68,7 +68,7 @@ template("implement_content_app") {
]
}
diff --git a/www/chromium/files/patch-content_app_content__main__runner.cc b/www/chromium/files/patch-content_app_content__main__runner.cc
index 36dc4a6..6cb01e3 100644
--- a/www/chromium/files/patch-content_app_content__main__runner.cc
+++ b/www/chromium/files/patch-content_app_content__main__runner.cc
@@ -1,6 +1,6 @@
---- content/app/content_main_runner.cc.orig 2017-03-09 20:04:32 UTC
+--- content/app/content_main_runner.cc.orig 2017-04-19 19:06:33 UTC
+++ content/app/content_main_runner.cc
-@@ -98,10 +98,10 @@
+@@ -92,10 +92,10 @@
#include "base/posix/global_descriptors.h"
#include "content/public/common/content_descriptors.h"
@@ -13,7 +13,7 @@
#include "content/zygote/zygote_main.h"
#endif
-@@ -298,7 +298,7 @@ struct MainFunction {
+@@ -365,7 +365,7 @@ struct MainFunction {
int (*function)(const MainFunctionParams&);
};
@@ -22,7 +22,7 @@
// On platforms that use the zygote, we have a special subset of
// subprocesses that are launched via the zygote. This function
// fills in some process-launching bits around ZygoteMain().
-@@ -350,7 +350,7 @@ int RunZygote(const MainFunctionParams&
+@@ -426,7 +426,7 @@ int RunZygote(const MainFunctionParams&
NOTREACHED() << "Unknown zygote process type: " << process_type;
return 1;
}
@@ -31,7 +31,7 @@
static void RegisterMainThreadFactories() {
#if !defined(CHROME_MULTIPLE_DLL_BROWSER) && !defined(CHROME_MULTIPLE_DLL_CHILD)
-@@ -417,7 +417,7 @@ int RunNamedProcessTypeMain(
+@@ -492,7 +492,7 @@ int RunNamedProcessTypeMain(
}
}
diff --git a/www/chromium/files/patch-content_browser_BUILD.gn b/www/chromium/files/patch-content_browser_BUILD.gn
index 100b969..cb60cd2 100644
--- a/www/chromium/files/patch-content_browser_BUILD.gn
+++ b/www/chromium/files/patch-content_browser_BUILD.gn
@@ -1,6 +1,6 @@
---- content/browser/BUILD.gn.orig 2017-03-09 20:04:32 UTC
+--- content/browser/BUILD.gn.orig 2017-04-19 19:06:33 UTC
+++ content/browser/BUILD.gn
-@@ -1444,11 +1444,6 @@ source_set("browser") {
+@@ -1464,11 +1464,6 @@ source_set("browser") {
"memory/memory_monitor_chromeos.cc",
"memory/memory_monitor_chromeos.h",
]
@@ -12,7 +12,7 @@
}
if (!is_win) {
-@@ -1514,7 +1509,7 @@ source_set("browser") {
+@@ -1540,7 +1535,7 @@ source_set("browser") {
# Desktop screen capture implementations, conditionally built depending on
# the available implementations for each platform.
@@ -21,7 +21,7 @@
defines += [ "ENABLE_SCREEN_CAPTURE=1" ]
sources += [
"media/capture/cursor_renderer.cc",
-@@ -1703,7 +1698,7 @@ source_set("browser") {
+@@ -1727,7 +1722,7 @@ source_set("browser") {
}
}
@@ -30,7 +30,7 @@
deps += [ "//build/linux:fontconfig" ]
}
-@@ -1862,6 +1857,17 @@ source_set("browser") {
+@@ -1880,6 +1875,17 @@ source_set("browser") {
"//chromeos",
"//chromeos:power_manager_proto",
]
@@ -48,7 +48,7 @@
}
if (enable_mojo_media) {
-@@ -1978,11 +1984,11 @@ source_set("browser") {
+@@ -1998,11 +2004,11 @@ source_set("browser") {
]
}
@@ -61,3 +61,4 @@
+ if (is_linux || is_bsd) {
deps += [ "//third_party/boringssl" ]
}
+
diff --git a/www/chromium/files/patch-content_browser_accessibility_browser__accessibility.h b/www/chromium/files/patch-content_browser_accessibility_browser__accessibility.h
index 744e494..a31b680 100644
--- a/www/chromium/files/patch-content_browser_accessibility_browser__accessibility.h
+++ b/www/chromium/files/patch-content_browser_accessibility_browser__accessibility.h
@@ -1,6 +1,6 @@
---- content/browser/accessibility/browser_accessibility.h.orig 2017-01-26 00:49:13 UTC
+--- content/browser/accessibility/browser_accessibility.h.orig 2017-04-19 19:06:33 UTC
+++ content/browser/accessibility/browser_accessibility.h
-@@ -38,7 +38,7 @@
+@@ -40,7 +40,7 @@
#define PLATFORM_HAS_NATIVE_ACCESSIBILITY_IMPL 1
#endif
diff --git a/www/chromium/files/patch-content_browser_accessibility_browser__accessibility__manager.h b/www/chromium/files/patch-content_browser_accessibility_browser__accessibility__manager.h
index 4d41062..369d986 100644
--- a/www/chromium/files/patch-content_browser_accessibility_browser__accessibility__manager.h
+++ b/www/chromium/files/patch-content_browser_accessibility_browser__accessibility__manager.h
@@ -1,6 +1,6 @@
---- content/browser/accessibility/browser_accessibility_manager.h.orig 2017-03-09 20:04:32 UTC
+--- content/browser/accessibility/browser_accessibility_manager.h.orig 2017-04-19 19:06:33 UTC
+++ content/browser/accessibility/browser_accessibility_manager.h
-@@ -34,7 +34,7 @@ class BrowserAccessibilityManager;
+@@ -36,7 +36,7 @@ class BrowserAccessibilityManager;
class BrowserAccessibilityManagerAndroid;
#elif defined(OS_WIN)
class BrowserAccessibilityManagerWin;
@@ -9,7 +9,7 @@
class BrowserAccessibilityManagerAuraLinux;
#elif defined(OS_MACOSX)
class BrowserAccessibilityManagerMac;
-@@ -246,7 +246,7 @@ class CONTENT_EXPORT BrowserAccessibilit
+@@ -248,7 +248,7 @@ class CONTENT_EXPORT BrowserAccessibilit
BrowserAccessibilityManagerAndroid* ToBrowserAccessibilityManagerAndroid();
#endif
diff --git a/www/chromium/files/patch-content_browser_browser__main__loop.cc b/www/chromium/files/patch-content_browser_browser__main__loop.cc
index 895e97e..4a82d00 100644
--- a/www/chromium/files/patch-content_browser_browser__main__loop.cc
+++ b/www/chromium/files/patch-content_browser_browser__main__loop.cc
@@ -1,17 +1,18 @@
---- content/browser/browser_main_loop.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/browser_main_loop.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/browser_main_loop.cc
-@@ -210,6 +210,10 @@
+@@ -210,6 +210,11 @@
#include "gpu/vulkan/vulkan_implementation.h"
#endif
+#if defined(OS_BSD)
-+#include "content/common/child_process_sandbox_support_impl_linux.h"
++#include "content/common/sandbox_linux/sandbox_linux.h"
++#include "content/child/child_process_sandbox_support_impl_linux.h"
+#endif
+
// One of the linux specific headers defines this as a macro.
#ifdef DestroyAll
#undef DestroyAll
-@@ -218,7 +222,7 @@
+@@ -218,7 +223,7 @@
namespace content {
namespace {
@@ -20,7 +21,7 @@
void SetupSandbox(const base::CommandLine& parsed_command_line) {
TRACE_EVENT0("startup", "SetupSandbox");
if (parsed_command_line.HasSwitch(switches::kNoZygote)) {
-@@ -582,10 +586,15 @@ void BrowserMainLoop::Init() {
+@@ -584,10 +589,15 @@ void BrowserMainLoop::Init() {
void BrowserMainLoop::EarlyInitialization() {
TRACE_EVENT0("startup", "BrowserMainLoop::EarlyInitialization");
diff --git a/www/chromium/files/patch-content_browser_child__process__launcher__helper__linux.cc b/www/chromium/files/patch-content_browser_child__process__launcher__helper__linux.cc
index 3f94a81..9c98c10 100644
--- a/www/chromium/files/patch-content_browser_child__process__launcher__helper__linux.cc
+++ b/www/chromium/files/patch-content_browser_child__process__launcher__helper__linux.cc
@@ -1,6 +1,6 @@
---- content/browser/child_process_launcher_helper_linux.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/child_process_launcher_helper_linux.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/child_process_launcher_helper_linux.cc
-@@ -95,6 +95,7 @@ ChildProcessLauncherHelper::LaunchProces
+@@ -67,6 +67,7 @@ ChildProcessLauncherHelper::LaunchProces
int* launch_result) {
*is_synchronous_launch = true;
@@ -8,7 +8,7 @@
ZygoteHandle* zygote_handle =
base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoZygote) ?
nullptr : delegate_->GetZygote();
-@@ -114,6 +115,7 @@ ChildProcessLauncherHelper::LaunchProces
+@@ -86,6 +87,7 @@ ChildProcessLauncherHelper::LaunchProces
process.zygote = *zygote_handle;
return process;
}
@@ -16,7 +16,7 @@
Process process;
process.process = base::LaunchProcess(*command_line(), options);
-@@ -133,10 +135,12 @@ base::TerminationStatus ChildProcessLaun
+@@ -105,10 +107,12 @@ base::TerminationStatus ChildProcessLaun
const ChildProcessLauncherHelper::Process& process,
bool known_dead,
int* exit_code) {
@@ -29,7 +29,7 @@
if (known_dead) {
return base::GetKnownDeadTerminationStatus(
process.process.Handle(), exit_code);
-@@ -155,13 +159,17 @@ void ChildProcessLauncherHelper::ForceNo
+@@ -127,13 +131,17 @@ void ChildProcessLauncherHelper::ForceNo
ChildProcessLauncherHelper::Process process) {
process.process.Terminate(RESULT_CODE_NORMAL_EXIT, false);
// On POSIX, we must additionally reap the child.
diff --git a/www/chromium/files/patch-content_browser_devtools_protocol_color__picker.cc b/www/chromium/files/patch-content_browser_devtools_protocol_color__picker.cc
index 428af3a..256f998 100644
--- a/www/chromium/files/patch-content_browser_devtools_protocol_color__picker.cc
+++ b/www/chromium/files/patch-content_browser_devtools_protocol_color__picker.cc
@@ -1,6 +1,6 @@
---- content/browser/devtools/protocol/color_picker.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/devtools/protocol/color_picker.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/devtools/protocol/color_picker.cc
-@@ -150,7 +150,7 @@ void ColorPicker::UpdateCursor() {
+@@ -153,7 +153,7 @@ void ColorPicker::UpdateCursor() {
// magnified projection only with centered hotspot.
// Mac Retina requires cursor to be > 120px in order to render smoothly.
diff --git a/www/chromium/files/patch-content_browser_download_base__file.cc b/www/chromium/files/patch-content_browser_download_base__file.cc
index bd25da7..7259a03 100644
--- a/www/chromium/files/patch-content_browser_download_base__file.cc
+++ b/www/chromium/files/patch-content_browser_download_base__file.cc
@@ -1,6 +1,6 @@
---- content/browser/download/base_file.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/download/base_file.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/download/base_file.cc
-@@ -370,7 +370,7 @@ DownloadInterruptReason BaseFile::LogInt
+@@ -380,7 +380,7 @@ DownloadInterruptReason BaseFile::LogInt
return reason;
}
@@ -9,7 +9,7 @@
namespace {
-@@ -453,7 +453,7 @@ DownloadInterruptReason BaseFile::Annota
+@@ -463,7 +463,7 @@ DownloadInterruptReason BaseFile::Annota
}
return DOWNLOAD_INTERRUPT_REASON_FILE_FAILED;
}
diff --git a/www/chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc b/www/chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc
index b08b34f..a915ad8 100644
--- a/www/chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc
+++ b/www/chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.cc
@@ -1,6 +1,6 @@
---- content/browser/gpu/gpu_data_manager_impl_private.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/gpu/gpu_data_manager_impl_private.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/gpu/gpu_data_manager_impl_private.cc
-@@ -384,7 +384,7 @@ bool GpuDataManagerImplPrivate::GpuAcces
+@@ -396,7 +396,7 @@ bool GpuDataManagerImplPrivate::GpuAcces
// strings even if all features are blacklisted. If all GPU features are
// disabled, the GPU process will only initialize GL bindings, create a GL
// context, and collect full GPU info.
@@ -9,7 +9,7 @@
if (reason) {
*reason = "All GPU features are blacklisted.";
}
-@@ -501,8 +501,10 @@ void GpuDataManagerImplPrivate::SetGLStr
+@@ -513,8 +513,10 @@ void GpuDataManagerImplPrivate::SetGLStr
gpu_info.gl_renderer = gl_renderer;
gpu_info.gl_version = gl_version;
@@ -20,7 +20,7 @@
UpdateGpuInfo(gpu_info);
UpdateGpuSwitchingManager(gpu_info);
-@@ -557,10 +559,12 @@ void GpuDataManagerImplPrivate::Initiali
+@@ -572,10 +574,12 @@ void GpuDataManagerImplPrivate::Initiali
// Skip collecting the basic driver info if SetGpuInfo() is already called.
if (IsCompleteGpuInfoAvailable()) {
gpu_info = gpu_info_;
@@ -33,7 +33,7 @@
}
if (command_line->HasSwitch(switches::kGpuTestingVendorId) &&
-@@ -671,7 +675,9 @@ void GpuDataManagerImplPrivate::UpdateGp
+@@ -686,7 +690,9 @@ void GpuDataManagerImplPrivate::UpdateGp
return;
bool was_info_available = IsCompleteGpuInfoAvailable();
diff --git a/www/chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h b/www/chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h
index d519fea..abdca96 100644
--- a/www/chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h
+++ b/www/chromium/files/patch-content_browser_gpu_gpu__data__manager__impl__private.h
@@ -1,6 +1,6 @@
---- content/browser/gpu/gpu_data_manager_impl_private.h.orig 2017-01-26 00:49:13 UTC
+--- content/browser/gpu/gpu_data_manager_impl_private.h.orig 2017-04-19 19:06:33 UTC
+++ content/browser/gpu/gpu_data_manager_impl_private.h
-@@ -154,7 +154,7 @@ class CONTENT_EXPORT GpuDataManagerImplP
+@@ -156,7 +156,7 @@ class CONTENT_EXPORT GpuDataManagerImplP
UnblockOtherDomainFrom3DAPIs);
FRIEND_TEST_ALL_PREFIXES(GpuDataManagerImplPrivateTest,
UnblockThisDomainFrom3DAPIs);
diff --git a/www/chromium/files/patch-content_browser_gpu_gpu__internals__ui.cc b/www/chromium/files/patch-content_browser_gpu_gpu__internals__ui.cc
index 6070827..6f216ef 100644
--- a/www/chromium/files/patch-content_browser_gpu_gpu__internals__ui.cc
+++ b/www/chromium/files/patch-content_browser_gpu_gpu__internals__ui.cc
@@ -1,4 +1,4 @@
---- content/browser/gpu/gpu_internals_ui.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/gpu/gpu_internals_ui.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/gpu/gpu_internals_ui.cc
@@ -43,7 +43,7 @@
#include "third_party/skia/include/core/SkMilestone.h"
@@ -18,7 +18,7 @@
#include "ui/base/x/x11_util.h" // nogncheck
#include "ui/gfx/x/x11_atom_cache.h" // nogncheck
#endif
-@@ -210,7 +210,7 @@ base::DictionaryValue* GpuInfoAsDictiona
+@@ -204,7 +204,7 @@ base::DictionaryValue* GpuInfoAsDictiona
gpu_info.gl_ws_version));
basic_info->Append(NewDescriptionValuePair("Window system binding extensions",
gpu_info.gl_ws_extensions));
diff --git a/www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc b/www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc
index 79039fa..5ed494d 100644
--- a/www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc
+++ b/www/chromium/files/patch-content_browser_gpu_gpu__process__host.cc
@@ -1,6 +1,6 @@
---- content/browser/gpu/gpu_process_host.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/gpu/gpu_process_host.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/gpu/gpu_process_host.cc
-@@ -994,7 +994,7 @@ bool GpuProcessHost::LaunchGpuProcess(gp
+@@ -1024,7 +1024,7 @@ bool GpuProcessHost::LaunchGpuProcess(gp
std::unique_ptr<base::CommandLine> cmd_line =
base::MakeUnique<base::CommandLine>(base::CommandLine::NO_PROGRAM);
#else
diff --git a/www/chromium/files/patch-content_browser_media_media__internals.cc b/www/chromium/files/patch-content_browser_media_media__internals.cc
index da731c7..71a3e83 100644
--- a/www/chromium/files/patch-content_browser_media_media__internals.cc
+++ b/www/chromium/files/patch-content_browser_media_media__internals.cc
@@ -1,6 +1,6 @@
---- content/browser/media/media_internals.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/media/media_internals.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/media/media_internals.cc
-@@ -776,7 +776,7 @@ void MediaInternals::UpdateVideoCaptureD
+@@ -774,7 +774,7 @@ void MediaInternals::UpdateVideoCaptureD
device_dict->SetString("name", descriptor.GetNameAndModel());
device_dict->Set("formats", format_list);
#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || \
diff --git a/www/chromium/files/patch-content_browser_memory_memory__coordinator__impl.cc b/www/chromium/files/patch-content_browser_memory_memory__coordinator__impl.cc
index 95ed2c6..7255b1f 100644
--- a/www/chromium/files/patch-content_browser_memory_memory__coordinator__impl.cc
+++ b/www/chromium/files/patch-content_browser_memory_memory__coordinator__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/memory/memory_coordinator_impl.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/memory/memory_coordinator_impl.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/memory/memory_coordinator_impl.cc
-@@ -148,8 +148,12 @@ void MemoryCoordinatorHandleImpl::AddChi
+@@ -90,8 +90,12 @@ void MemoryCoordinatorHandleImpl::AddChi
struct MemoryCoordinatorImplSingletonTraits
: public base::LeakySingletonTraits<MemoryCoordinatorImpl> {
static MemoryCoordinatorImpl* New() {
diff --git a/www/chromium/files/patch-content_browser_memory_memory__monitor.cc b/www/chromium/files/patch-content_browser_memory_memory__monitor.cc
index a3b34ec..b8f0580 100644
--- a/www/chromium/files/patch-content_browser_memory_memory__monitor.cc
+++ b/www/chromium/files/patch-content_browser_memory_memory__monitor.cc
@@ -1,4 +1,4 @@
---- content/browser/memory/memory_monitor.cc.orig 2017-01-26 00:49:13 UTC
+--- content/browser/memory/memory_monitor.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/memory/memory_monitor.cc
@@ -8,6 +8,7 @@
diff --git a/www/chromium/files/patch-content_browser_ppapi__plugin__process__host.cc b/www/chromium/files/patch-content_browser_ppapi__plugin__process__host.cc
index fa3f9f6..0c619fa 100644
--- a/www/chromium/files/patch-content_browser_ppapi__plugin__process__host.cc
+++ b/www/chromium/files/patch-content_browser_ppapi__plugin__process__host.cc
@@ -1,6 +1,6 @@
---- content/browser/ppapi_plugin_process_host.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/ppapi_plugin_process_host.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/ppapi_plugin_process_host.cc
-@@ -54,9 +54,9 @@
+@@ -55,9 +55,9 @@
namespace content {
@@ -12,7 +12,7 @@
// NOTE: changes to this class need to be reviewed by the security team.
class PpapiPluginSandboxedProcessLauncherDelegate
-@@ -110,7 +110,7 @@ class PpapiPluginSandboxedProcessLaunche
+@@ -111,7 +111,7 @@ class PpapiPluginSandboxedProcessLaunche
return true;
}
@@ -21,7 +21,7 @@
ZygoteHandle* GetZygote() override {
const base::CommandLine& browser_command_line =
*base::CommandLine::ForCurrentProcess();
-@@ -204,13 +204,13 @@ PpapiPluginProcessHost* PpapiPluginProce
+@@ -205,13 +205,13 @@ PpapiPluginProcessHost* PpapiPluginProce
return NULL;
}
@@ -37,7 +37,7 @@
// static
void PpapiPluginProcessHost::DidCreateOutOfProcessInstance(
-@@ -362,7 +362,7 @@ bool PpapiPluginProcessHost::Init(const
+@@ -363,7 +363,7 @@ bool PpapiPluginProcessHost::Init(const
base::CommandLine::StringType plugin_launcher =
browser_command_line.GetSwitchValueNative(switches::kPpapiPluginLauncher);
diff --git a/www/chromium/files/patch-content_browser_renderer__host_media_video__capture__manager.cc b/www/chromium/files/patch-content_browser_renderer__host_media_video__capture__manager.cc
index 745bdd9..80794c4 100644
--- a/www/chromium/files/patch-content_browser_renderer__host_media_video__capture__manager.cc
+++ b/www/chromium/files/patch-content_browser_renderer__host_media_video__capture__manager.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/media/video_capture_manager.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/renderer_host/media/video_capture_manager.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/renderer_host/media/video_capture_manager.cc
-@@ -662,7 +662,7 @@ VideoCaptureManager::DoStartTabCaptureOn
+@@ -645,7 +645,7 @@ VideoCaptureManager::DoStartTabCaptureOn
DCHECK(IsOnDeviceThread());
std::unique_ptr<VideoCaptureDevice> video_capture_device;
@@ -9,7 +9,7 @@
video_capture_device = WebContentsVideoCaptureDevice::Create(id);
#endif
-@@ -692,7 +692,7 @@ VideoCaptureManager::DoStartDesktopCaptu
+@@ -675,7 +675,7 @@ VideoCaptureManager::DoStartDesktopCaptu
}
if (desktop_id.type == DesktopMediaID::TYPE_WEB_CONTENTS) {
diff --git a/www/chromium/files/patch-content_browser_renderer__host_render__message__filter.cc b/www/chromium/files/patch-content_browser_renderer__host_render__message__filter.cc
index ddac970..8a37fe2 100644
--- a/www/chromium/files/patch-content_browser_renderer__host_render__message__filter.cc
+++ b/www/chromium/files/patch-content_browser_renderer__host_render__message__filter.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/render_message_filter.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/renderer_host/render_message_filter.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/renderer_host/render_message_filter.cc
-@@ -90,7 +90,7 @@
+@@ -89,7 +89,7 @@
#include "ui/accelerated_widget_mac/window_resize_helper_mac.h"
#endif
diff --git a/www/chromium/files/patch-content_browser_renderer__host_render__message__filter.h b/www/chromium/files/patch-content_browser_renderer__host_render__message__filter.h
index 059ef53..3eda08a 100644
--- a/www/chromium/files/patch-content_browser_renderer__host_render__message__filter.h
+++ b/www/chromium/files/patch-content_browser_renderer__host_render__message__filter.h
@@ -1,4 +1,4 @@
---- content/browser/renderer_host/render_message_filter.h.orig 2017-03-09 20:04:32 UTC
+--- content/browser/renderer_host/render_message_filter.h.orig 2017-04-19 19:06:33 UTC
+++ content/browser/renderer_host/render_message_filter.h
@@ -132,7 +132,7 @@ class CONTENT_EXPORT RenderMessageFilter
const std::list<base::ProcessHandle>& handles);
diff --git a/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc b/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc
index cc7fa0f..5f249d3 100644
--- a/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc
+++ b/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/render_process_host_impl.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/renderer_host/render_process_host_impl.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/renderer_host/render_process_host_impl.cc
-@@ -372,11 +372,11 @@ SiteProcessMap* GetSiteProcessMapForBrow
+@@ -378,11 +378,11 @@ SiteProcessMap* GetSiteProcessMapForBrow
return map;
}
@@ -14,7 +14,7 @@
// NOTE: changes to this class need to be reviewed by the security team.
class RendererSandboxedProcessLauncherDelegate
-@@ -399,7 +399,7 @@ class RendererSandboxedProcessLauncherDe
+@@ -405,7 +405,7 @@ class RendererSandboxedProcessLauncherDe
return GetContentClient()->browser()->PreSpawnRenderer(policy);
}
@@ -23,7 +23,7 @@
ZygoteHandle* GetZygote() override {
const base::CommandLine& browser_command_line =
*base::CommandLine::ForCurrentProcess();
-@@ -639,7 +639,7 @@ void RenderProcessHost::SetMaxRendererPr
+@@ -655,7 +655,7 @@ void RenderProcessHost::SetMaxRendererPr
g_max_renderer_count_override = count;
}
@@ -32,7 +32,7 @@
// static
void RenderProcessHostImpl::EarlyZygoteLaunch() {
DCHECK(!g_render_zygote);
-@@ -649,7 +649,7 @@ void RenderProcessHostImpl::EarlyZygoteL
+@@ -665,7 +665,7 @@ void RenderProcessHostImpl::EarlyZygoteL
ZygoteHostImpl::GetInstance()->SetRendererSandboxStatus(
(*GetGenericZygote())->GetSandboxStatus());
}
@@ -41,7 +41,7 @@
RenderProcessHostImpl::RenderProcessHostImpl(
BrowserContext* browser_context,
-@@ -796,7 +796,7 @@ bool RenderProcessHostImpl::Init() {
+@@ -813,7 +813,7 @@ bool RenderProcessHostImpl::Init() {
renderer_prefix =
browser_command_line.GetSwitchValueNative(switches::kRendererCmdPrefix);
diff --git a/www/chromium/files/patch-content_browser_renderer__host_render__view__host__impl.cc b/www/chromium/files/patch-content_browser_renderer__host_render__view__host__impl.cc
index b290d786..b9754b1 100644
--- a/www/chromium/files/patch-content_browser_renderer__host_render__view__host__impl.cc
+++ b/www/chromium/files/patch-content_browser_renderer__host_render__view__host__impl.cc
@@ -1,4 +1,4 @@
---- content/browser/renderer_host/render_view_host_impl.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/renderer_host/render_view_host_impl.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/renderer_host/render_view_host_impl.cc
@@ -140,7 +140,7 @@ void GetPlatformSpecificPrefs(RendererPr
display::win::ScreenWin::GetSystemMetricsInDIP(SM_CYVSCROLL);
diff --git a/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc b/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc
index 68adc23..6baa618 100644
--- a/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc
+++ b/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__aura.cc
@@ -1,7 +1,7 @@
---- content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/renderer_host/render_widget_host_view_aura.cc
-@@ -111,7 +111,7 @@
- #include "ui/gfx/gdi_util.h"
+@@ -116,7 +116,7 @@
+ #include "content/browser/accessibility/browser_accessibility_auralinux.h"
#endif
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
@@ -9,7 +9,7 @@
#include "ui/base/ime/linux/text_edit_command_auralinux.h"
#include "ui/base/ime/linux/text_edit_key_bindings_delegate_auralinux.h"
#endif
-@@ -2018,7 +2018,7 @@ bool RenderWidgetHostViewAura::NeedsInpu
+@@ -2031,7 +2031,7 @@ bool RenderWidgetHostViewAura::NeedsInpu
}
bool RenderWidgetHostViewAura::NeedsMouseCapture() {
@@ -18,7 +18,7 @@
return NeedsInputGrab();
#endif
return false;
-@@ -2218,7 +2218,7 @@ void RenderWidgetHostViewAura::ForwardKe
+@@ -2231,7 +2231,7 @@ void RenderWidgetHostViewAura::ForwardKe
if (!target_host)
return;
diff --git a/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc b/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc
index 9498f26..f40b8d1 100644
--- a/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc
+++ b/www/chromium/files/patch-content_browser_renderer__host_render__widget__host__view__event__handler.cc
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/render_widget_host_view_event_handler.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/renderer_host/render_widget_host_view_event_handler.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/renderer_host/render_widget_host_view_event_handler.cc
-@@ -545,7 +545,7 @@ bool RenderWidgetHostViewEventHandler::C
+@@ -546,7 +546,7 @@ bool RenderWidgetHostViewEventHandler::C
if (event->type() == ui::ET_MOUSE_EXITED) {
if (mouse_locked || selection_popup)
return false;
diff --git a/www/chromium/files/patch-content_browser_tracing_tracing__controller__impl.cc b/www/chromium/files/patch-content_browser_tracing_tracing__controller__impl.cc
index 60e0ed2..6c766ba 100644
--- a/www/chromium/files/patch-content_browser_tracing_tracing__controller__impl.cc
+++ b/www/chromium/files/patch-content_browser_tracing_tracing__controller__impl.cc
@@ -1,6 +1,6 @@
---- content/browser/tracing/tracing_controller_impl.cc.orig 2017-01-26 00:49:13 UTC
+--- content/browser/tracing/tracing_controller_impl.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/tracing/tracing_controller_impl.cc
-@@ -475,7 +475,7 @@ void TracingControllerImpl::AddTraceMess
+@@ -476,7 +476,7 @@ void TracingControllerImpl::AddTraceMess
return;
}
@@ -9,3 +9,12 @@
// On Linux the browser process dumps process metrics for child process due to
// sandbox.
tracing::ProcessMetricsMemoryDumpProvider::RegisterForProcess(
+@@ -504,7 +504,7 @@ void TracingControllerImpl::RemoveTraceM
+ return;
+ }
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ tracing::ProcessMetricsMemoryDumpProvider::UnregisterForProcess(
+ trace_message_filter->peer_pid());
+ #endif
diff --git a/www/chromium/files/patch-content_browser_utility__process__host__impl.cc b/www/chromium/files/patch-content_browser_utility__process__host__impl.cc
index 48533fe..53a1355 100644
--- a/www/chromium/files/patch-content_browser_utility__process__host__impl.cc
+++ b/www/chromium/files/patch-content_browser_utility__process__host__impl.cc
@@ -1,4 +1,4 @@
---- content/browser/utility_process_host_impl.cc.orig 2017-03-09 20:04:32 UTC
+--- content/browser/utility_process_host_impl.cc.orig 2017-04-19 19:06:33 UTC
+++ content/browser/utility_process_host_impl.cc
@@ -44,9 +44,9 @@
#include "services/service_manager/public/cpp/interface_provider.h"
diff --git a/www/chromium/files/patch-content_child_child__process.cc b/www/chromium/files/patch-content_child_child__process.cc
index 8ce401b..3e2c0ae 100644
--- a/www/chromium/files/patch-content_child_child__process.cc
+++ b/www/chromium/files/patch-content_child_child__process.cc
@@ -1,6 +1,6 @@
---- content/child/child_process.cc.orig 2017-03-09 20:04:32 UTC
+--- content/child/child_process.cc.orig 2017-04-19 19:06:33 UTC
+++ content/child/child_process.cc
-@@ -122,7 +122,7 @@ void ChildProcess::ReleaseProcess() {
+@@ -133,7 +133,7 @@ void ChildProcess::ReleaseProcess() {
main_thread_->OnProcessFinalRelease();
}
diff --git a/www/chromium/files/patch-content_child_child__process.h b/www/chromium/files/patch-content_child_child__process.h
index e9aaf17..7c9704e 100644
--- a/www/chromium/files/patch-content_child_child__process.h
+++ b/www/chromium/files/patch-content_child_child__process.h
@@ -1,6 +1,6 @@
---- content/child/child_process.h.orig 2017-02-02 02:02:53 UTC
+--- content/child/child_process.h.orig 2017-04-19 19:06:33 UTC
+++ content/child/child_process.h
-@@ -69,7 +69,7 @@ class CONTENT_EXPORT ChildProcess {
+@@ -82,7 +82,7 @@ class CONTENT_EXPORT ChildProcess {
void AddRefProcess();
void ReleaseProcess();
diff --git a/www/chromium/files/patch-content_child_child__thread__impl.cc b/www/chromium/files/patch-content_child_child__thread__impl.cc
index 22ee4e3..81a97b3 100644
--- a/www/chromium/files/patch-content_child_child__thread__impl.cc
+++ b/www/chromium/files/patch-content_child_child__thread__impl.cc
@@ -1,6 +1,6 @@
---- content/child/child_thread_impl.cc.orig 2017-03-09 20:04:32 UTC
+--- content/child/child_thread_impl.cc.orig 2017-04-19 19:06:33 UTC
+++ content/child/child_thread_impl.cc
-@@ -706,7 +706,7 @@ std::unique_ptr<base::SharedMemory> Chil
+@@ -699,7 +699,7 @@ std::unique_ptr<base::SharedMemory> Chil
return base::MakeUnique<base::SharedMemory>(shared_buf, false);
}
diff --git a/www/chromium/files/patch-content_child_child__thread__impl.h b/www/chromium/files/patch-content_child_child__thread__impl.h
index 1cc44f2..47c1eff 100644
--- a/www/chromium/files/patch-content_child_child__thread__impl.h
+++ b/www/chromium/files/patch-content_child_child__thread__impl.h
@@ -1,4 +1,4 @@
---- content/child/child_thread_impl.h.orig 2017-03-09 20:04:32 UTC
+--- content/child/child_thread_impl.h.orig 2017-04-19 19:06:33 UTC
+++ content/child/child_thread_impl.h
@@ -116,7 +116,7 @@ class CONTENT_EXPORT ChildThreadImpl
static std::unique_ptr<base::SharedMemory> AllocateSharedMemory(
diff --git a/www/chromium/files/patch-content_common_BUILD.gn b/www/chromium/files/patch-content_common_BUILD.gn
index 61c0197..8ff43c0 100644
--- a/www/chromium/files/patch-content_common_BUILD.gn
+++ b/www/chromium/files/patch-content_common_BUILD.gn
@@ -1,6 +1,6 @@
---- content/common/BUILD.gn.orig 2017-03-09 20:04:32 UTC
+--- content/common/BUILD.gn.orig 2017-04-19 19:06:33 UTC
+++ content/common/BUILD.gn
-@@ -498,7 +498,7 @@ source_set("common") {
+@@ -503,7 +503,7 @@ source_set("common") {
}
if (!use_seccomp_bpf) {
@@ -9,7 +9,7 @@
sources -= [
"sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc",
"sandbox_linux/bpf_cros_arm_gpu_policy_linux.h",
-@@ -512,6 +512,16 @@ source_set("common") {
+@@ -517,6 +517,16 @@ source_set("common") {
"sandbox_linux/bpf_utility_policy_linux.h",
"sandbox_linux/sandbox_bpf_base_policy_linux.cc",
"sandbox_linux/sandbox_bpf_base_policy_linux.h",
diff --git a/www/chromium/files/patch-content_common_child__process__messages.h b/www/chromium/files/patch-content_common_child__process__messages.h
index e12b265..d9d8582 100644
--- a/www/chromium/files/patch-content_common_child__process__messages.h
+++ b/www/chromium/files/patch-content_common_child__process__messages.h
@@ -1,4 +1,4 @@
---- content/common/child_process_messages.h.orig 2017-03-09 20:04:32 UTC
+--- content/common/child_process_messages.h.orig 2017-04-19 19:06:33 UTC
+++ content/common/child_process_messages.h
@@ -26,7 +26,7 @@
#include "ui/gfx/ipc/gfx_param_traits.h"
diff --git a/www/chromium/files/patch-content_common_content__switches__internal.cc b/www/chromium/files/patch-content_common_content__switches__internal.cc
index 386b50c..0977c85 100644
--- a/www/chromium/files/patch-content_common_content__switches__internal.cc
+++ b/www/chromium/files/patch-content_common_content__switches__internal.cc
@@ -1,4 +1,4 @@
---- content/common/content_switches_internal.cc.orig 2017-03-09 20:04:32 UTC
+--- content/common/content_switches_internal.cc.orig 2017-04-19 19:06:33 UTC
+++ content/common/content_switches_internal.cc
@@ -27,7 +27,7 @@ const base::Feature kUseZoomForDsfEnable
#endif
diff --git a/www/chromium/files/patch-content_common_sandbox__linux_sandbox__debug__handling__linux.cc b/www/chromium/files/patch-content_common_sandbox__linux_sandbox__debug__handling__linux.cc
index 0c4f988..69c0bf6 100644
--- a/www/chromium/files/patch-content_common_sandbox__linux_sandbox__debug__handling__linux.cc
+++ b/www/chromium/files/patch-content_common_sandbox__linux_sandbox__debug__handling__linux.cc
@@ -1,4 +1,4 @@
---- content/common/sandbox_linux/sandbox_debug_handling_linux.cc.orig 2017-01-26 00:49:13 UTC
+--- content/common/sandbox_linux/sandbox_debug_handling_linux.cc.orig 2017-04-19 19:06:34 UTC
+++ content/common/sandbox_linux/sandbox_debug_handling_linux.cc
@@ -7,7 +7,9 @@
#include <errno.h>
diff --git a/www/chromium/files/patch-content_common_set__process__title__linux.cc b/www/chromium/files/patch-content_common_set__process__title__linux.cc
index b6a56c7..fbda01a 100644
--- a/www/chromium/files/patch-content_common_set__process__title__linux.cc
+++ b/www/chromium/files/patch-content_common_set__process__title__linux.cc
@@ -1,4 +1,4 @@
---- content/common/set_process_title_linux.cc.orig 2017-01-26 00:49:13 UTC
+--- content/common/set_process_title_linux.cc.orig 2017-04-19 19:06:34 UTC
+++ content/common/set_process_title_linux.cc
@@ -49,6 +49,8 @@
extern char** environ;
diff --git a/www/chromium/files/patch-content_common_set__process__title__linux.h b/www/chromium/files/patch-content_common_set__process__title__linux.h
index f3beb78..8abe8aa 100644
--- a/www/chromium/files/patch-content_common_set__process__title__linux.h
+++ b/www/chromium/files/patch-content_common_set__process__title__linux.h
@@ -1,4 +1,4 @@
---- content/common/set_process_title_linux.h.orig 2017-01-26 00:49:13 UTC
+--- content/common/set_process_title_linux.h.orig 2017-04-19 19:06:34 UTC
+++ content/common/set_process_title_linux.h
@@ -5,6 +5,9 @@
#ifndef CONTENT_COMMON_SET_PROCESS_TITLE_LINUX_H_
diff --git a/www/chromium/files/patch-content_common_view__messages.h b/www/chromium/files/patch-content_common_view__messages.h
index 32e5a34..77344b3 100644
--- a/www/chromium/files/patch-content_common_view__messages.h
+++ b/www/chromium/files/patch-content_common_view__messages.h
@@ -1,6 +1,6 @@
---- content/common/view_messages.h.orig 2017-03-09 20:04:32 UTC
+--- content/common/view_messages.h.orig 2017-04-19 19:06:34 UTC
+++ content/common/view_messages.h
-@@ -246,7 +246,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::Rendere
+@@ -245,7 +245,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::Rendere
IPC_STRUCT_TRAITS_MEMBER(plugin_fullscreen_allowed)
IPC_STRUCT_TRAITS_MEMBER(use_video_overlay_for_embedded_encrypted_video)
IPC_STRUCT_TRAITS_MEMBER(network_contry_iso)
diff --git a/www/chromium/files/patch-content_gpu_BUILD.gn b/www/chromium/files/patch-content_gpu_BUILD.gn
index 33d6f62..fad94ee 100644
--- a/www/chromium/files/patch-content_gpu_BUILD.gn
+++ b/www/chromium/files/patch-content_gpu_BUILD.gn
@@ -1,6 +1,6 @@
---- content/gpu/BUILD.gn.orig 2017-03-09 20:04:32 UTC
+--- content/gpu/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ content/gpu/BUILD.gn
-@@ -97,6 +97,7 @@ target(link_target_type, "gpu_sources")
+@@ -98,6 +98,7 @@ target(link_target_type, "gpu_sources")
if (use_x11) {
deps += [ "//ui/events/platform/x11" ]
diff --git a/www/chromium/files/patch-content_gpu_gpu__child__thread.cc b/www/chromium/files/patch-content_gpu_gpu__child__thread.cc
index 6e35e0a..2426bce 100644
--- a/www/chromium/files/patch-content_gpu_gpu__child__thread.cc
+++ b/www/chromium/files/patch-content_gpu_gpu__child__thread.cc
@@ -1,18 +1,18 @@
---- content/gpu/gpu_child_thread.cc.orig 2017-03-09 20:04:32 UTC
+--- content/gpu/gpu_child_thread.cc.orig 2017-04-19 19:06:34 UTC
+++ content/gpu/gpu_child_thread.cc
-@@ -387,6 +387,7 @@ void GpuChildThread::OnCollectGraphicsIn
- if (dead_on_arrival_)
- return;
+@@ -398,6 +398,7 @@ void GpuChildThread::OnCollectGraphicsIn
+ }
+ #endif
+#if !defined(OS_BSD)
#if defined(OS_WIN)
// GPU full info collection should only happen on un-sandboxed GPU process
// or single process/in-process gpu mode on Windows.
-@@ -438,6 +439,7 @@ void GpuChildThread::OnCollectGraphicsIn
+@@ -420,6 +421,7 @@ void GpuChildThread::OnCollectGraphicsIn
base::MessageLoop::current()->QuitWhenIdle();
}
#endif // OS_WIN
+#endif // XXX(rene) !FreeBSD
}
- void GpuChildThread::OnGetVideoMemoryUsageStats() {
+ void GpuChildThread::OnClean() {
diff --git a/www/chromium/files/patch-content_gpu_gpu__main.cc b/www/chromium/files/patch-content_gpu_gpu__main.cc
index e89b5c6..accef8f 100644
--- a/www/chromium/files/patch-content_gpu_gpu__main.cc
+++ b/www/chromium/files/patch-content_gpu_gpu__main.cc
@@ -1,6 +1,6 @@
---- content/gpu/gpu_main.cc.orig 2017-03-09 20:04:32 UTC
+--- content/gpu/gpu_main.cc.orig 2017-04-19 19:06:34 UTC
+++ content/gpu/gpu_main.cc
-@@ -94,7 +94,7 @@ namespace content {
+@@ -98,7 +98,7 @@ namespace content {
namespace {
@@ -9,7 +9,7 @@
bool StartSandboxLinux(gpu::GpuWatchdogThread*);
#elif defined(OS_WIN)
bool StartSandboxWindows(const sandbox::SandboxInterfaceInfo*);
-@@ -148,7 +148,7 @@ class ContentSandboxHelper : public gpu:
+@@ -152,7 +152,7 @@ class ContentSandboxHelper : public gpu:
bool EnsureSandboxInitialized(
gpu::GpuWatchdogThread* watchdog_thread) override {
@@ -18,7 +18,7 @@
return StartSandboxLinux(watchdog_thread);
#elif defined(OS_WIN)
return StartSandboxWindows(sandbox_info_);
-@@ -310,7 +310,7 @@ int GpuMain(const MainFunctionParams& pa
+@@ -313,7 +313,7 @@ int GpuMain(const MainFunctionParams& pa
namespace {
diff --git a/www/chromium/files/patch-content_gpu_in__process__gpu__thread.cc b/www/chromium/files/patch-content_gpu_in__process__gpu__thread.cc
index 82bae81..13d0809 100644
--- a/www/chromium/files/patch-content_gpu_in__process__gpu__thread.cc
+++ b/www/chromium/files/patch-content_gpu_in__process__gpu__thread.cc
@@ -1,11 +1,11 @@
---- content/gpu/in_process_gpu_thread.cc.orig 2017-01-26 00:49:13 UTC
+--- content/gpu/in_process_gpu_thread.cc.orig 2017-04-19 19:06:34 UTC
+++ content/gpu/in_process_gpu_thread.cc
-@@ -53,8 +53,6 @@ void InProcessGpuThread::Init() {
+@@ -54,8 +54,6 @@ void InProcessGpuThread::Init() {
gpu::GPUInfo gpu_info;
if (!gl::init::InitializeGLOneOff())
VLOG(1) << "gl::init::InitializeGLOneOff failed";
- else
- gpu::CollectContextGraphicsInfo(&gpu_info);
- // The process object takes ownership of the thread object, so do not
- // save and delete the pointer.
+ gpu::GpuFeatureInfo gpu_feature_info =
+ gpu::GetGpuFeatureInfo(gpu_info, *base::CommandLine::ForCurrentProcess());
diff --git a/www/chromium/files/patch-content_public_common_child__process__host.h b/www/chromium/files/patch-content_public_common_child__process__host.h
index 147c3a8..aeebc99 100644
--- a/www/chromium/files/patch-content_public_common_child__process__host.h
+++ b/www/chromium/files/patch-content_public_common_child__process__host.h
@@ -1,6 +1,6 @@
---- content/public/common/child_process_host.h.orig 2017-01-26 00:49:13 UTC
+--- content/public/common/child_process_host.h.orig 2017-04-19 19:06:34 UTC
+++ content/public/common/child_process_host.h
-@@ -53,7 +53,7 @@ class CONTENT_EXPORT ChildProcessHost :
+@@ -54,7 +54,7 @@ class CONTENT_EXPORT ChildProcessHost :
// No special behavior requested.
CHILD_NORMAL = 0,
@@ -9,7 +9,7 @@
// Indicates that the child execed after forking may be execced from
// /proc/self/exe rather than using the "real" app path. This prevents
// autoupdate from confusing us if it changes the file out from under us.
-@@ -62,7 +62,7 @@ class CONTENT_EXPORT ChildProcessHost :
+@@ -63,7 +63,7 @@ class CONTENT_EXPORT ChildProcessHost :
// gdb). In this case, you'd use GetChildPath to get the real executable
// file name, and then prepend the GDB command to the command line.
CHILD_ALLOW_SELF = 1 << 0,
diff --git a/www/chromium/files/patch-content_public_common_content__switches.cc b/www/chromium/files/patch-content_public_common_content__switches.cc
index 2c8e327..1eeccd1 100644
--- a/www/chromium/files/patch-content_public_common_content__switches.cc
+++ b/www/chromium/files/patch-content_public_common_content__switches.cc
@@ -1,6 +1,6 @@
---- content/public/common/content_switches.cc.orig 2017-01-26 00:49:13 UTC
+--- content/public/common/content_switches.cc.orig 2017-04-19 19:06:34 UTC
+++ content/public/common/content_switches.cc
-@@ -992,7 +992,7 @@ const char kDisableVaapiAcceleratedVideo
+@@ -1006,7 +1006,7 @@ const char kDisableVaapiAcceleratedVideo
"disable-vaapi-accelerated-video-encode";
#endif
diff --git a/www/chromium/files/patch-content_public_common_content__switches.h b/www/chromium/files/patch-content_public_common_content__switches.h
index d4f8e2e..d7035c6 100644
--- a/www/chromium/files/patch-content_public_common_content__switches.h
+++ b/www/chromium/files/patch-content_public_common_content__switches.h
@@ -1,6 +1,6 @@
---- content/public/common/content_switches.h.orig 2017-03-09 20:04:32 UTC
+--- content/public/common/content_switches.h.orig 2017-04-19 19:06:34 UTC
+++ content/public/common/content_switches.h
-@@ -296,7 +296,7 @@ CONTENT_EXPORT extern const char kDisabl
+@@ -294,7 +294,7 @@ CONTENT_EXPORT extern const char kDisabl
CONTENT_EXPORT extern const char kDisableVaapiAcceleratedVideoEncode[];
#endif
diff --git a/www/chromium/files/patch-content_public_common_renderer__preferences.h b/www/chromium/files/patch-content_public_common_renderer__preferences.h
index 88cc166..4a5a140 100644
--- a/www/chromium/files/patch-content_public_common_renderer__preferences.h
+++ b/www/chromium/files/patch-content_public_common_renderer__preferences.h
@@ -1,6 +1,6 @@
---- content/public/common/renderer_preferences.h.orig 2017-01-26 00:49:13 UTC
+--- content/public/common/renderer_preferences.h.orig 2017-04-19 19:06:34 UTC
+++ content/public/common/renderer_preferences.h
-@@ -139,7 +139,7 @@ struct CONTENT_EXPORT RendererPreference
+@@ -131,7 +131,7 @@ struct CONTENT_EXPORT RendererPreference
// Country iso of the mobile network for content detection purpose.
std::string network_contry_iso;
diff --git a/www/chromium/files/patch-content_public_test_browser__test__base.cc b/www/chromium/files/patch-content_public_test_browser__test__base.cc
index 38bc1b9..8f203ac 100644
--- a/www/chromium/files/patch-content_public_test_browser__test__base.cc
+++ b/www/chromium/files/patch-content_public_test_browser__test__base.cc
@@ -1,4 +1,4 @@
---- content/public/test/browser_test_base.cc.orig 2017-01-26 00:49:13 UTC
+--- content/public/test/browser_test_base.cc.orig 2017-04-19 19:06:34 UTC
+++ content/public/test/browser_test_base.cc
@@ -6,6 +6,10 @@
diff --git a/www/chromium/files/patch-content_renderer_media_webrtc_processed__local__audio__source.cc b/www/chromium/files/patch-content_renderer_media_webrtc_processed__local__audio__source.cc
index f024294..efb2042 100644
--- a/www/chromium/files/patch-content_renderer_media_webrtc_processed__local__audio__source.cc
+++ b/www/chromium/files/patch-content_renderer_media_webrtc_processed__local__audio__source.cc
@@ -1,4 +1,4 @@
---- content/renderer/media/webrtc/processed_local_audio_source.cc.orig 2017-01-26 00:49:13 UTC
+--- content/renderer/media/webrtc/processed_local_audio_source.cc.orig 2017-04-19 19:06:34 UTC
+++ content/renderer/media/webrtc/processed_local_audio_source.cc
@@ -269,8 +269,8 @@ void ProcessedLocalAudioSource::Capture(
bool key_pressed) {
diff --git a/www/chromium/files/patch-content_renderer_render__thread__impl.cc b/www/chromium/files/patch-content_renderer_render__thread__impl.cc
index d2a74ce..19d8e97 100644
--- a/www/chromium/files/patch-content_renderer_render__thread__impl.cc
+++ b/www/chromium/files/patch-content_renderer_render__thread__impl.cc
@@ -1,6 +1,6 @@
---- content/renderer/render_thread_impl.cc.orig 2017-03-09 20:04:32 UTC
+--- content/renderer/render_thread_impl.cc.orig 2017-04-19 19:06:34 UTC
+++ content/renderer/render_thread_impl.cc
-@@ -207,11 +207,13 @@
+@@ -206,11 +206,13 @@
#include "content/common/external_ipc_dumper.h"
#endif
@@ -14,7 +14,7 @@
using base::ThreadRestrictions;
using blink::WebDocument;
-@@ -1386,7 +1388,7 @@ media::GpuVideoAcceleratorFactories* Ren
+@@ -1379,7 +1381,7 @@ media::GpuVideoAcceleratorFactories* Ren
const bool enable_video_accelerator =
!cmd_line->HasSwitch(switches::kDisableAcceleratedVideoDecode);
const bool enable_gpu_memory_buffer_video_frames =
@@ -23,7 +23,7 @@
!cmd_line->HasSwitch(switches::kDisableGpuMemoryBufferVideoFrames) &&
!cmd_line->HasSwitch(switches::kDisableGpuCompositing) &&
!gpu_channel_host->gpu_info().software_rendering;
-@@ -1729,6 +1731,8 @@ void RenderThreadImpl::GetRendererMemory
+@@ -1712,6 +1714,8 @@ void RenderThreadImpl::GetRendererMemory
#else
size_t malloc_usage = minfo.hblkhd + minfo.arena;
#endif
diff --git a/www/chromium/files/patch-content_renderer_renderer__blink__platform__impl.cc b/www/chromium/files/patch-content_renderer_renderer__blink__platform__impl.cc
index 7fa3126..2311ab5 100644
--- a/www/chromium/files/patch-content_renderer_renderer__blink__platform__impl.cc
+++ b/www/chromium/files/patch-content_renderer_renderer__blink__platform__impl.cc
@@ -1,6 +1,6 @@
---- content/renderer/renderer_blink_platform_impl.cc.orig 2017-03-09 20:04:32 UTC
+--- content/renderer/renderer_blink_platform_impl.cc.orig 2017-04-19 19:06:34 UTC
+++ content/renderer/renderer_blink_platform_impl.cc
-@@ -111,7 +111,7 @@
+@@ -112,7 +112,7 @@
#if defined(OS_POSIX)
#include "base/file_descriptor_posix.h"
@@ -9,7 +9,7 @@
#include <map>
#include <string>
-@@ -204,7 +204,7 @@ class RendererBlinkPlatformImpl::FileUti
+@@ -206,7 +206,7 @@ class RendererBlinkPlatformImpl::FileUti
scoped_refptr<ThreadSafeSender> thread_safe_sender_;
};
@@ -18,7 +18,7 @@
class RendererBlinkPlatformImpl::SandboxSupport
: public blink::WebSandboxSupport {
public:
-@@ -250,7 +250,7 @@ RendererBlinkPlatformImpl::RendererBlink
+@@ -252,7 +252,7 @@ RendererBlinkPlatformImpl::RendererBlink
renderer_scheduler_(renderer_scheduler),
blink_interface_provider_(
new BlinkInterfaceProviderImpl(remote_interfaces)) {
@@ -27,7 +27,7 @@
if (g_sandbox_enabled && sandboxEnabled()) {
sandbox_support_.reset(new RendererBlinkPlatformImpl::SandboxSupport);
} else {
-@@ -286,7 +286,7 @@ RendererBlinkPlatformImpl::~RendererBlin
+@@ -288,7 +288,7 @@ RendererBlinkPlatformImpl::~RendererBlin
}
void RendererBlinkPlatformImpl::Shutdown() {
@@ -36,7 +36,7 @@
// SandboxSupport contains a map of WebFontFamily objects, which hold
// WebCStrings, which become invalidated when blink is shut down. Hence, we
// need to clear that map now, just before blink::shutdown() is called.
-@@ -334,7 +334,7 @@ blink::WebFileUtilities* RendererBlinkPl
+@@ -336,7 +336,7 @@ blink::WebFileUtilities* RendererBlinkPl
}
blink::WebSandboxSupport* RendererBlinkPlatformImpl::sandboxSupport() {
@@ -45,7 +45,7 @@
// These platforms do not require sandbox support.
return NULL;
#else
-@@ -542,7 +542,7 @@ bool RendererBlinkPlatformImpl::SandboxS
+@@ -543,7 +543,7 @@ bool RendererBlinkPlatformImpl::SandboxS
return FontLoader::CGFontRefFromBuffer(font_data, font_data_size, out);
}
diff --git a/www/chromium/files/patch-content_renderer_renderer__blink__platform__impl.h b/www/chromium/files/patch-content_renderer_renderer__blink__platform__impl.h
index 4f10c4f..1b3430e 100644
--- a/www/chromium/files/patch-content_renderer_renderer__blink__platform__impl.h
+++ b/www/chromium/files/patch-content_renderer_renderer__blink__platform__impl.h
@@ -1,6 +1,6 @@
---- content/renderer/renderer_blink_platform_impl.h.orig 2017-03-09 20:04:32 UTC
+--- content/renderer/renderer_blink_platform_impl.h.orig 2017-04-19 19:06:34 UTC
+++ content/renderer/renderer_blink_platform_impl.h
-@@ -252,7 +252,7 @@ class CONTENT_EXPORT RendererBlinkPlatfo
+@@ -253,7 +253,7 @@ class CONTENT_EXPORT RendererBlinkPlatfo
class FileUtilities;
std::unique_ptr<FileUtilities> file_utilities_;
diff --git a/www/chromium/files/patch-content_renderer_renderer__main__platform__delegate__linux.cc b/www/chromium/files/patch-content_renderer_renderer__main__platform__delegate__linux.cc
index be1e1b2..7090b6b 100644
--- a/www/chromium/files/patch-content_renderer_renderer__main__platform__delegate__linux.cc
+++ b/www/chromium/files/patch-content_renderer_renderer__main__platform__delegate__linux.cc
@@ -1,4 +1,4 @@
---- content/renderer/renderer_main_platform_delegate_linux.cc.orig 2017-01-26 00:49:13 UTC
+--- content/renderer/renderer_main_platform_delegate_linux.cc.orig 2017-04-19 19:06:34 UTC
+++ content/renderer/renderer_main_platform_delegate_linux.cc
@@ -29,6 +29,7 @@ void RendererMainPlatformDelegate::Platf
}
diff --git a/www/chromium/files/patch-content_renderer_webscrollbarbehavior__impl__aura.cc b/www/chromium/files/patch-content_renderer_webscrollbarbehavior__impl__aura.cc
index c53f33b..0e06833 100644
--- a/www/chromium/files/patch-content_renderer_webscrollbarbehavior__impl__aura.cc
+++ b/www/chromium/files/patch-content_renderer_webscrollbarbehavior__impl__aura.cc
@@ -1,4 +1,4 @@
---- content/renderer/webscrollbarbehavior_impl_aura.cc.orig 2017-01-26 00:49:13 UTC
+--- content/renderer/webscrollbarbehavior_impl_aura.cc.orig 2017-04-19 19:06:34 UTC
+++ content/renderer/webscrollbarbehavior_impl_aura.cc
@@ -14,7 +14,7 @@ bool WebScrollbarBehaviorImpl::shouldCen
blink::WebPointerProperties::Button mouseButton,
diff --git a/www/chromium/files/patch-content_shell_BUILD.gn b/www/chromium/files/patch-content_shell_BUILD.gn
index 9bbea1f..0167eba 100644
--- a/www/chromium/files/patch-content_shell_BUILD.gn
+++ b/www/chromium/files/patch-content_shell_BUILD.gn
@@ -1,6 +1,6 @@
---- content/shell/BUILD.gn.orig 2017-03-09 20:04:32 UTC
+--- content/shell/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ content/shell/BUILD.gn
-@@ -296,7 +296,7 @@ static_library("content_shell_lib") {
+@@ -295,7 +295,7 @@ static_library("content_shell_lib") {
]
}
@@ -9,7 +9,7 @@
deps += [
"//build/linux:fontconfig",
"//ui/gfx:test_support",
-@@ -320,7 +320,7 @@ static_library("content_shell_lib") {
+@@ -319,7 +319,7 @@ static_library("content_shell_lib") {
]
}
@@ -18,13 +18,13 @@
deps += [
"//components/crash/content/app",
"//components/crash/content/browser",
-@@ -369,7 +369,7 @@ static_library("content_shell_lib") {
+@@ -368,7 +368,7 @@ static_library("content_shell_lib") {
]
}
- if (is_linux) {
+ if (is_linux || is_bsd) {
- deps += [ "//third_party/freetype2" ]
+ deps += [ "//third_party/freetype-android:freetype" ]
}
@@ -539,7 +539,7 @@ if (is_android) {
diff --git a/www/chromium/files/patch-content_shell_browser_shell__browser__context.cc b/www/chromium/files/patch-content_shell_browser_shell__browser__context.cc
index 071f52a..0d8886b 100644
--- a/www/chromium/files/patch-content_shell_browser_shell__browser__context.cc
+++ b/www/chromium/files/patch-content_shell_browser_shell__browser__context.cc
@@ -1,4 +1,4 @@
---- content/shell/browser/shell_browser_context.cc.orig 2017-01-26 00:49:13 UTC
+--- content/shell/browser/shell_browser_context.cc.orig 2017-04-19 19:06:34 UTC
+++ content/shell/browser/shell_browser_context.cc
@@ -25,7 +25,7 @@
diff --git a/www/chromium/files/patch-content_shell_browser_shell__browser__main__parts.cc b/www/chromium/files/patch-content_shell_browser_shell__browser__main__parts.cc
index 8c34b88..6e6b564 100644
--- a/www/chromium/files/patch-content_shell_browser_shell__browser__main__parts.cc
+++ b/www/chromium/files/patch-content_shell_browser_shell__browser__main__parts.cc
@@ -1,4 +1,4 @@
---- content/shell/browser/shell_browser_main_parts.cc.orig 2017-03-09 20:04:32 UTC
+--- content/shell/browser/shell_browser_main_parts.cc.orig 2017-04-19 19:06:34 UTC
+++ content/shell/browser/shell_browser_main_parts.cc
@@ -46,7 +46,7 @@
#if defined(USE_AURA) && defined(USE_X11)
diff --git a/www/chromium/files/patch-content_test_BUILD.gn b/www/chromium/files/patch-content_test_BUILD.gn
index 13b6df8..968e41e 100644
--- a/www/chromium/files/patch-content_test_BUILD.gn
+++ b/www/chromium/files/patch-content_test_BUILD.gn
@@ -1,6 +1,6 @@
---- content/test/BUILD.gn.orig 2017-03-09 20:04:32 UTC
+--- content/test/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ content/test/BUILD.gn
-@@ -771,7 +771,7 @@ test("content_browsertests") {
+@@ -785,7 +785,7 @@ test("content_browsertests") {
}
}
@@ -9,7 +9,7 @@
data += [
"$root_out_dir/content_shell.pak",
"data/",
-@@ -1392,7 +1392,7 @@ test("content_unittests") {
+@@ -1425,7 +1425,7 @@ test("content_unittests") {
sources += [ "../browser/memory/memory_monitor_linux_unittest.cc" ]
}
@@ -18,7 +18,7 @@
data = [
"$root_out_dir/content_shell.pak",
"data/",
-@@ -1597,7 +1597,7 @@ test("content_unittests") {
+@@ -1632,7 +1632,7 @@ test("content_unittests") {
"//ui/shell_dialogs:shell_dialogs",
]
@@ -27,7 +27,7 @@
sources +=
[ "../browser/media/capture/desktop_capture_device_unittest.cc" ]
deps += [ "//third_party/webrtc/modules/desktop_capture" ]
-@@ -1631,7 +1631,7 @@ test("content_unittests") {
+@@ -1670,7 +1670,7 @@ test("content_unittests") {
}
}
diff --git a/www/chromium/files/patch-crypto_nss__util.cc b/www/chromium/files/patch-crypto_nss__util.cc
index 92d45f0..249910c 100644
--- a/www/chromium/files/patch-crypto_nss__util.cc
+++ b/www/chromium/files/patch-crypto_nss__util.cc
@@ -1,4 +1,4 @@
---- crypto/nss_util.cc.orig 2017-01-26 00:49:14 UTC
+--- crypto/nss_util.cc.orig 2017-04-19 19:06:34 UTC
+++ crypto/nss_util.cc
@@ -20,7 +20,7 @@
#include "base/threading/thread_task_runner_handle.h"
diff --git a/www/chromium/files/patch-device_BUILD.gn b/www/chromium/files/patch-device_BUILD.gn
index c23c855..1feb214 100644
--- a/www/chromium/files/patch-device_BUILD.gn
+++ b/www/chromium/files/patch-device_BUILD.gn
@@ -1,6 +1,6 @@
---- device/BUILD.gn.orig 2017-03-09 20:04:33 UTC
+--- device/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ device/BUILD.gn
-@@ -197,7 +197,7 @@ test("device_unittests") {
+@@ -200,7 +200,7 @@ test("device_unittests") {
]
}
diff --git a/www/chromium/files/patch-device_battery_BUILD.gn b/www/chromium/files/patch-device_battery_BUILD.gn
index dd53e08..8c51ce4 100644
--- a/www/chromium/files/patch-device_battery_BUILD.gn
+++ b/www/chromium/files/patch-device_battery_BUILD.gn
@@ -1,4 +1,4 @@
---- device/battery/BUILD.gn.orig 2017-01-26 00:49:14 UTC
+--- device/battery/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ device/battery/BUILD.gn
@@ -47,7 +47,7 @@ if (!is_android) {
]
diff --git a/www/chromium/files/patch-device_bluetooth_BUILD.gn b/www/chromium/files/patch-device_bluetooth_BUILD.gn
index ed64cb7..a27c459 100644
--- a/www/chromium/files/patch-device_bluetooth_BUILD.gn
+++ b/www/chromium/files/patch-device_bluetooth_BUILD.gn
@@ -1,6 +1,6 @@
---- device/bluetooth/BUILD.gn.orig 2017-03-09 20:04:33 UTC
+--- device/bluetooth/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ device/bluetooth/BUILD.gn
-@@ -199,7 +199,7 @@ component("bluetooth") {
+@@ -200,7 +200,7 @@ component("bluetooth") {
]
}
diff --git a/www/chromium/files/patch-device_gamepad_gamepad__provider.cc b/www/chromium/files/patch-device_gamepad_gamepad__provider.cc
index cd25201..26527f1 100644
--- a/www/chromium/files/patch-device_gamepad_gamepad__provider.cc
+++ b/www/chromium/files/patch-device_gamepad_gamepad__provider.cc
@@ -1,4 +1,4 @@
---- device/gamepad/gamepad_provider.cc.orig 2017-03-09 20:04:33 UTC
+--- device/gamepad/gamepad_provider.cc.orig 2017-04-19 19:06:34 UTC
+++ device/gamepad/gamepad_provider.cc
@@ -153,7 +153,7 @@ void GamepadProvider::Initialize(std::un
monitor->AddDevicesChangedObserver(this);
diff --git a/www/chromium/files/patch-device_geolocation_BUILD.gn b/www/chromium/files/patch-device_geolocation_BUILD.gn
index e7a65f9..1f4d0ae 100644
--- a/www/chromium/files/patch-device_geolocation_BUILD.gn
+++ b/www/chromium/files/patch-device_geolocation_BUILD.gn
@@ -1,4 +1,4 @@
---- device/geolocation/BUILD.gn.orig 2017-01-26 00:49:14 UTC
+--- device/geolocation/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ device/geolocation/BUILD.gn
@@ -89,7 +89,7 @@ component("geolocation") {
if (is_android) {
diff --git a/www/chromium/files/patch-device_geolocation_location__arbitrator.cc b/www/chromium/files/patch-device_geolocation_location__arbitrator.cc
index 2c5b0b4..b316169 100644
--- a/www/chromium/files/patch-device_geolocation_location__arbitrator.cc
+++ b/www/chromium/files/patch-device_geolocation_location__arbitrator.cc
@@ -1,4 +1,4 @@
---- device/geolocation/location_arbitrator.cc.orig 2017-01-26 00:49:14 UTC
+--- device/geolocation/location_arbitrator.cc.orig 2017-04-19 19:06:34 UTC
+++ device/geolocation/location_arbitrator.cc
@@ -182,7 +182,7 @@ LocationArbitrator::NewNetworkLocationPr
diff --git a/www/chromium/files/patch-device_hid_BUILD.gn b/www/chromium/files/patch-device_hid_BUILD.gn
index a465136..3839cd3 100644
--- a/www/chromium/files/patch-device_hid_BUILD.gn
+++ b/www/chromium/files/patch-device_hid_BUILD.gn
@@ -1,4 +1,4 @@
---- device/hid/BUILD.gn.orig 2017-01-26 00:49:14 UTC
+--- device/hid/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ device/hid/BUILD.gn
@@ -56,6 +56,13 @@ source_set("hid") {
deps += [ "//device/udev_linux" ]
diff --git a/www/chromium/files/patch-device_media__transfer__protocol_media__transfer__protocol__daemon__client.h b/www/chromium/files/patch-device_media__transfer__protocol_media__transfer__protocol__daemon__client.h
index 936ca99..f1731ef 100644
--- a/www/chromium/files/patch-device_media__transfer__protocol_media__transfer__protocol__daemon__client.h
+++ b/www/chromium/files/patch-device_media__transfer__protocol_media__transfer__protocol__daemon__client.h
@@ -1,4 +1,4 @@
---- device/media_transfer_protocol/media_transfer_protocol_daemon_client.h.orig 2017-02-02 02:02:54 UTC
+--- device/media_transfer_protocol/media_transfer_protocol_daemon_client.h.orig 2017-04-19 19:06:34 UTC
+++ device/media_transfer_protocol/media_transfer_protocol_daemon_client.h
@@ -19,7 +19,7 @@
#include "base/macros.h"
diff --git a/www/chromium/files/patch-device_media__transfer__protocol_media__transfer__protocol__manager.h b/www/chromium/files/patch-device_media__transfer__protocol_media__transfer__protocol__manager.h
index 09b23fc..c12a44a 100644
--- a/www/chromium/files/patch-device_media__transfer__protocol_media__transfer__protocol__manager.h
+++ b/www/chromium/files/patch-device_media__transfer__protocol_media__transfer__protocol__manager.h
@@ -1,4 +1,4 @@
---- device/media_transfer_protocol/media_transfer_protocol_manager.h.orig 2017-01-26 00:49:14 UTC
+--- device/media_transfer_protocol/media_transfer_protocol_manager.h.orig 2017-04-19 19:06:34 UTC
+++ device/media_transfer_protocol/media_transfer_protocol_manager.h
@@ -15,7 +15,7 @@
#include "base/memory/ref_counted.h"
diff --git a/www/chromium/files/patch-content_browser_device__sensors_data__fetcher__shared__memory.h b/www/chromium/files/patch-device_sensors_data__fetcher__shared__memory.h
index 1f7c96d..3e39313 100644
--- a/www/chromium/files/patch-content_browser_device__sensors_data__fetcher__shared__memory.h
+++ b/www/chromium/files/patch-device_sensors_data__fetcher__shared__memory.h
@@ -1,6 +1,6 @@
---- content/browser/device_sensors/data_fetcher_shared_memory.h.orig 2017-01-26 00:49:13 UTC
-+++ content/browser/device_sensors/data_fetcher_shared_memory.h
-@@ -45,7 +45,7 @@ class CONTENT_EXPORT DataFetcherSharedMe
+--- device/sensors/data_fetcher_shared_memory.h.orig 2017-04-19 19:06:34 UTC
++++ device/sensors/data_fetcher_shared_memory.h
+@@ -44,7 +44,7 @@ class DEVICE_SENSOR_EXPORT DataFetcherSh
bool Start(ConsumerType consumer_type, void* buffer) override;
bool Stop(ConsumerType consumer_type) override;
diff --git a/www/chromium/files/patch-device_serial_BUILD.gn b/www/chromium/files/patch-device_serial_BUILD.gn
index 0a8900d..5e66e46 100644
--- a/www/chromium/files/patch-device_serial_BUILD.gn
+++ b/www/chromium/files/patch-device_serial_BUILD.gn
@@ -1,4 +1,4 @@
---- device/serial/BUILD.gn.orig 2017-01-26 00:49:14 UTC
+--- device/serial/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ device/serial/BUILD.gn
@@ -6,7 +6,7 @@ import("//build/config/features.gni")
import("//mojo/public/tools/bindings/mojom.gni")
diff --git a/www/chromium/files/patch-device_serial_serial__io__handler__posix.cc b/www/chromium/files/patch-device_serial_serial__io__handler__posix.cc
index 13fe8e2..b515cc9 100644
--- a/www/chromium/files/patch-device_serial_serial__io__handler__posix.cc
+++ b/www/chromium/files/patch-device_serial_serial__io__handler__posix.cc
@@ -1,4 +1,4 @@
---- device/serial/serial_io_handler_posix.cc.orig 2017-01-26 00:49:14 UTC
+--- device/serial/serial_io_handler_posix.cc.orig 2017-04-19 19:06:34 UTC
+++ device/serial/serial_io_handler_posix.cc
@@ -61,7 +61,7 @@ bool BitrateToSpeedConstant(int bitrate,
BITRATE_TO_SPEED_CASE(9600)
diff --git a/www/chromium/files/patch-device_usb_usb__context.cc b/www/chromium/files/patch-device_usb_usb__context.cc
index 3b2a483..1379b24 100644
--- a/www/chromium/files/patch-device_usb_usb__context.cc
+++ b/www/chromium/files/patch-device_usb_usb__context.cc
@@ -1,4 +1,4 @@
---- device/usb/usb_context.cc.orig 2017-01-26 00:49:14 UTC
+--- device/usb/usb_context.cc.orig 2017-04-19 19:06:34 UTC
+++ device/usb/usb_context.cc
@@ -9,8 +9,13 @@
#include "base/macros.h"
diff --git a/www/chromium/files/patch-device_usb_usb__context__unittest.cc b/www/chromium/files/patch-device_usb_usb__context__unittest.cc
index f25eb36..f54b7d7 100644
--- a/www/chromium/files/patch-device_usb_usb__context__unittest.cc
+++ b/www/chromium/files/patch-device_usb_usb__context__unittest.cc
@@ -1,4 +1,4 @@
---- device/usb/usb_context_unittest.cc.orig 2017-01-26 00:49:14 UTC
+--- device/usb/usb_context_unittest.cc.orig 2017-04-19 19:06:34 UTC
+++ device/usb/usb_context_unittest.cc
@@ -7,7 +7,11 @@
#include "build/build_config.h"
diff --git a/www/chromium/files/patch-device_usb_usb__device__handle__impl.cc b/www/chromium/files/patch-device_usb_usb__device__handle__impl.cc
index 14ff998..3ba8fcd 100644
--- a/www/chromium/files/patch-device_usb_usb__device__handle__impl.cc
+++ b/www/chromium/files/patch-device_usb_usb__device__handle__impl.cc
@@ -1,4 +1,4 @@
---- device/usb/usb_device_handle_impl.cc.orig 2017-01-26 00:49:14 UTC
+--- device/usb/usb_device_handle_impl.cc.orig 2017-04-19 19:06:34 UTC
+++ device/usb/usb_device_handle_impl.cc
@@ -25,7 +25,11 @@
#include "device/usb/usb_error.h"
diff --git a/www/chromium/files/patch-device_usb_usb__device__handle__impl.h b/www/chromium/files/patch-device_usb_usb__device__handle__impl.h
index 3fb03aa..4cf2a18 100644
--- a/www/chromium/files/patch-device_usb_usb__device__handle__impl.h
+++ b/www/chromium/files/patch-device_usb_usb__device__handle__impl.h
@@ -1,4 +1,4 @@
---- device/usb/usb_device_handle_impl.h.orig 2017-01-26 00:49:14 UTC
+--- device/usb/usb_device_handle_impl.h.orig 2017-04-19 19:06:34 UTC
+++ device/usb/usb_device_handle_impl.h
@@ -18,7 +18,12 @@
#include "base/memory/ref_counted.h"
diff --git a/www/chromium/files/patch-device_usb_usb__device__impl.cc b/www/chromium/files/patch-device_usb_usb__device__impl.cc
index 23389cd..e299984 100644
--- a/www/chromium/files/patch-device_usb_usb__device__impl.cc
+++ b/www/chromium/files/patch-device_usb_usb__device__impl.cc
@@ -1,4 +1,4 @@
---- device/usb/usb_device_impl.cc.orig 2017-01-26 00:49:14 UTC
+--- device/usb/usb_device_impl.cc.orig 2017-04-19 19:06:34 UTC
+++ device/usb/usb_device_impl.cc
@@ -22,7 +22,11 @@
#include "device/usb/usb_descriptors.h"
diff --git a/www/chromium/files/patch-device_usb_usb__error.cc b/www/chromium/files/patch-device_usb_usb__error.cc
index 61db73d..b650b77 100644
--- a/www/chromium/files/patch-device_usb_usb__error.cc
+++ b/www/chromium/files/patch-device_usb_usb__error.cc
@@ -1,4 +1,4 @@
---- device/usb/usb_error.cc.orig 2017-01-26 00:49:14 UTC
+--- device/usb/usb_error.cc.orig 2017-04-19 19:06:34 UTC
+++ device/usb/usb_error.cc
@@ -4,7 +4,11 @@
diff --git a/www/chromium/files/patch-device_usb_usb__service__impl.cc b/www/chromium/files/patch-device_usb_usb__service__impl.cc
index d315285..861a824 100644
--- a/www/chromium/files/patch-device_usb_usb__service__impl.cc
+++ b/www/chromium/files/patch-device_usb_usb__service__impl.cc
@@ -1,6 +1,6 @@
---- device/usb/usb_service_impl.cc.orig 2017-03-09 20:04:33 UTC
+--- device/usb/usb_service_impl.cc.orig 2017-04-19 19:06:34 UTC
+++ device/usb/usb_service_impl.cc
-@@ -26,7 +26,11 @@
+@@ -25,7 +25,11 @@
#include "device/usb/usb_error.h"
#include "device/usb/webusb_descriptors.h"
#include "net/base/io_buffer.h"
@@ -12,8 +12,8 @@
+#endif
#if defined(OS_WIN)
- #include <setupapi.h>
-@@ -229,8 +233,10 @@ UsbServiceImpl::UsbServiceImpl(
+ #define INITGUID
+@@ -231,8 +235,10 @@ UsbServiceImpl::UsbServiceImpl(
}
UsbServiceImpl::~UsbServiceImpl() {
@@ -24,7 +24,7 @@
for (auto* platform_device : ignored_devices_)
libusb_unref_device(platform_device);
}
-@@ -287,6 +293,7 @@ void UsbServiceImpl::OnUsbContext(scoped
+@@ -289,6 +295,7 @@ void UsbServiceImpl::OnUsbContext(scoped
context_ = std::move(context);
@@ -32,7 +32,7 @@
int rv = libusb_hotplug_register_callback(
context_->context(),
static_cast<libusb_hotplug_event>(LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED |
-@@ -299,6 +306,7 @@ void UsbServiceImpl::OnUsbContext(scoped
+@@ -301,6 +308,7 @@ void UsbServiceImpl::OnUsbContext(scoped
// This will call any enumeration callbacks queued while initializing.
RefreshDevices();
@@ -40,7 +40,7 @@
#if defined(OS_WIN)
DeviceMonitorWin* device_monitor = DeviceMonitorWin::GetForAllInterfaces();
-@@ -498,6 +506,7 @@ void UsbServiceImpl::RemoveDevice(scoped
+@@ -500,6 +508,7 @@ void UsbServiceImpl::RemoveDevice(scoped
device->OnDisconnect();
}
@@ -48,7 +48,7 @@
// static
int LIBUSB_CALL UsbServiceImpl::HotplugCallback(libusb_context* context,
PlatformUsbDevice device,
-@@ -528,6 +537,7 @@ int LIBUSB_CALL UsbServiceImpl::HotplugC
+@@ -530,6 +539,7 @@ int LIBUSB_CALL UsbServiceImpl::HotplugC
return 0;
}
diff --git a/www/chromium/files/patch-device_usb_usb__service__impl.h b/www/chromium/files/patch-device_usb_usb__service__impl.h
index 0ec596d..115e64a 100644
--- a/www/chromium/files/patch-device_usb_usb__service__impl.h
+++ b/www/chromium/files/patch-device_usb_usb__service__impl.h
@@ -1,4 +1,4 @@
---- device/usb/usb_service_impl.h.orig 2017-03-09 20:04:33 UTC
+--- device/usb/usb_service_impl.h.orig 2017-04-19 19:06:34 UTC
+++ device/usb/usb_service_impl.h
@@ -15,7 +15,13 @@
#include "build/build_config.h"
@@ -14,7 +14,7 @@
#if defined(OS_WIN)
#include "base/scoped_observer.h"
-@@ -71,11 +77,13 @@ class UsbServiceImpl :
+@@ -73,11 +79,13 @@ class UsbServiceImpl :
scoped_refptr<UsbDeviceImpl> device);
void RemoveDevice(scoped_refptr<UsbDeviceImpl> device);
@@ -28,7 +28,7 @@
// These functions release a reference to the provided platform device.
void OnPlatformDeviceAdded(PlatformUsbDevice platform_device);
void OnPlatformDeviceRemoved(PlatformUsbDevice platform_device);
-@@ -92,7 +100,9 @@ class UsbServiceImpl :
+@@ -94,7 +102,9 @@ class UsbServiceImpl :
// connected instead of only when a full enumeration is requested.
// TODO(reillyg): Support this on all platforms. crbug.com/411715
bool hotplug_enabled_ = false;
diff --git a/www/chromium/files/patch-extensions_browser_api_declarative__webrequest_webrequest__action.cc b/www/chromium/files/patch-extensions_browser_api_declarative__webrequest_webrequest__action.cc
index 58b5497..1b226d2 100644
--- a/www/chromium/files/patch-extensions_browser_api_declarative__webrequest_webrequest__action.cc
+++ b/www/chromium/files/patch-extensions_browser_api_declarative__webrequest_webrequest__action.cc
@@ -1,4 +1,4 @@
---- extensions/browser/api/declarative_webrequest/webrequest_action.cc.orig 2017-01-26 00:49:14 UTC
+--- extensions/browser/api/declarative_webrequest/webrequest_action.cc.orig 2017-04-19 19:06:34 UTC
+++ extensions/browser/api/declarative_webrequest/webrequest_action.cc
@@ -29,7 +29,11 @@
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
diff --git a/www/chromium/files/patch-extensions_browser_api_networking__private_networking__private__event__router__factory.cc b/www/chromium/files/patch-extensions_browser_api_networking__private_networking__private__event__router__factory.cc
index 1ea9651..d94b27c 100644
--- a/www/chromium/files/patch-extensions_browser_api_networking__private_networking__private__event__router__factory.cc
+++ b/www/chromium/files/patch-extensions_browser_api_networking__private_networking__private__event__router__factory.cc
@@ -1,4 +1,4 @@
---- extensions/browser/api/networking_private/networking_private_event_router_factory.cc.orig 2017-01-26 00:49:14 UTC
+--- extensions/browser/api/networking_private/networking_private_event_router_factory.cc.orig 2017-04-19 19:06:34 UTC
+++ extensions/browser/api/networking_private/networking_private_event_router_factory.cc
@@ -13,6 +13,7 @@
diff --git a/www/chromium/files/patch-extensions_browser_api_serial_serial__api.cc b/www/chromium/files/patch-extensions_browser_api_serial_serial__api.cc
index d3d5936..5b69f28 100644
--- a/www/chromium/files/patch-extensions_browser_api_serial_serial__api.cc
+++ b/www/chromium/files/patch-extensions_browser_api_serial_serial__api.cc
@@ -1,4 +1,4 @@
---- extensions/browser/api/serial/serial_api.cc.orig 2017-03-09 20:04:33 UTC
+--- extensions/browser/api/serial/serial_api.cc.orig 2017-04-19 19:06:34 UTC
+++ extensions/browser/api/serial/serial_api.cc
@@ -86,11 +86,13 @@ bool SerialGetDevicesFunction::Prepare()
void SerialGetDevicesFunction::Work() {
diff --git a/www/chromium/files/patch-extensions_browser_api_web__request_form__data__parser.cc b/www/chromium/files/patch-extensions_browser_api_web__request_form__data__parser.cc
index 9abb79d..64959cb 100644
--- a/www/chromium/files/patch-extensions_browser_api_web__request_form__data__parser.cc
+++ b/www/chromium/files/patch-extensions_browser_api_web__request_form__data__parser.cc
@@ -1,4 +1,4 @@
---- extensions/browser/api/web_request/form_data_parser.cc.orig 2017-01-26 00:49:14 UTC
+--- extensions/browser/api/web_request/form_data_parser.cc.orig 2017-04-19 19:06:34 UTC
+++ extensions/browser/api/web_request/form_data_parser.cc
@@ -15,7 +15,11 @@
#include "base/values.h"
diff --git a/www/chromium/files/patch-extensions_common_image__util.cc b/www/chromium/files/patch-extensions_common_image__util.cc
index ebbe100..823b32f 100644
--- a/www/chromium/files/patch-extensions_common_image__util.cc
+++ b/www/chromium/files/patch-extensions_common_image__util.cc
@@ -1,4 +1,4 @@
---- extensions/common/image_util.cc.orig 2017-01-26 00:49:14 UTC
+--- extensions/common/image_util.cc.orig 2017-04-19 19:06:34 UTC
+++ extensions/common/image_util.cc
@@ -11,7 +11,11 @@
#include "base/strings/string_number_conversions.h"
diff --git a/www/chromium/files/patch-extensions_common_stack__frame.cc b/www/chromium/files/patch-extensions_common_stack__frame.cc
index 5338f97..918a20a 100644
--- a/www/chromium/files/patch-extensions_common_stack__frame.cc
+++ b/www/chromium/files/patch-extensions_common_stack__frame.cc
@@ -1,4 +1,4 @@
---- extensions/common/stack_frame.cc.orig 2017-01-26 00:49:14 UTC
+--- extensions/common/stack_frame.cc.orig 2017-04-19 19:06:34 UTC
+++ extensions/common/stack_frame.cc
@@ -7,7 +7,11 @@
#include <string>
diff --git a/www/chromium/files/patch-gpu_BUILD.gn b/www/chromium/files/patch-gpu_BUILD.gn
index b052d6e..b1e3465 100644
--- a/www/chromium/files/patch-gpu_BUILD.gn
+++ b/www/chromium/files/patch-gpu_BUILD.gn
@@ -1,6 +1,6 @@
---- gpu/BUILD.gn.orig 2017-01-26 00:49:14 UTC
+--- gpu/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ gpu/BUILD.gn
-@@ -93,7 +93,7 @@ test("command_buffer_gles2_tests") {
+@@ -96,7 +96,7 @@ test("command_buffer_gles2_tests") {
libs += [ "android" ]
deps += [ "//ui/android:ui_java" ]
}
diff --git a/www/chromium/files/patch-gpu_command__buffer_service_program__manager.cc b/www/chromium/files/patch-gpu_command__buffer_service_program__manager.cc
index dab811c..bb49bb7 100644
--- a/www/chromium/files/patch-gpu_command__buffer_service_program__manager.cc
+++ b/www/chromium/files/patch-gpu_command__buffer_service_program__manager.cc
@@ -1,4 +1,4 @@
---- gpu/command_buffer/service/program_manager.cc.orig 2017-01-26 00:49:14 UTC
+--- gpu/command_buffer/service/program_manager.cc.orig 2017-04-19 19:06:34 UTC
+++ gpu/command_buffer/service/program_manager.cc
@@ -31,7 +31,11 @@
#include "gpu/command_buffer/service/program_cache.h"
diff --git a/www/chromium/files/patch-gpu_config_BUILD.gn b/www/chromium/files/patch-gpu_config_BUILD.gn
index 454821f..6c0ff48 100644
--- a/www/chromium/files/patch-gpu_config_BUILD.gn
+++ b/www/chromium/files/patch-gpu_config_BUILD.gn
@@ -1,4 +1,4 @@
---- gpu/config/BUILD.gn.orig 2017-01-26 00:49:14 UTC
+--- gpu/config/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ gpu/config/BUILD.gn
@@ -8,7 +8,8 @@ import("//build/config/ui.gni")
@@ -10,7 +10,7 @@
(use_x11 || use_ozone)
}
-@@ -97,6 +98,14 @@ source_set("config_sources") {
+@@ -101,6 +102,14 @@ source_set("config_sources") {
]
}
}
diff --git a/www/chromium/files/patch-gpu_config_gpu__control__list.cc b/www/chromium/files/patch-gpu_config_gpu__control__list.cc
index c6e7a78..6167136 100644
--- a/www/chromium/files/patch-gpu_config_gpu__control__list.cc
+++ b/www/chromium/files/patch-gpu_config_gpu__control__list.cc
@@ -1,4 +1,4 @@
---- gpu/config/gpu_control_list.cc.orig 2017-01-26 00:49:14 UTC
+--- gpu/config/gpu_control_list.cc.orig 2017-04-19 19:06:34 UTC
+++ gpu/config/gpu_control_list.cc
@@ -19,7 +19,11 @@
#include "base/sys_info.h"
@@ -12,7 +12,7 @@
namespace gpu {
namespace {
-@@ -1154,7 +1158,7 @@ GpuControlList::GpuControlListEntry::GLT
+@@ -1183,7 +1187,7 @@ GpuControlList::GpuControlListEntry::GLT
GpuControlList::GpuControlListEntry::GetDefaultGLType() {
#if defined(OS_CHROMEOS)
return kGLTypeGL;
@@ -21,7 +21,7 @@
return kGLTypeGL;
#elif defined(OS_MACOSX)
return kGLTypeGL;
-@@ -1606,7 +1610,7 @@ GpuControlList::OsType GpuControlList::G
+@@ -1642,7 +1646,7 @@ GpuControlList::OsType GpuControlList::G
return kOsWin;
#elif defined(OS_ANDROID)
return kOsAndroid;
diff --git a/www/chromium/files/patch-gpu_config_gpu__control__list__unittest.cc b/www/chromium/files/patch-gpu_config_gpu__control__list__unittest.cc
index afb2796..ee60865 100644
--- a/www/chromium/files/patch-gpu_config_gpu__control__list__unittest.cc
+++ b/www/chromium/files/patch-gpu_config_gpu__control__list__unittest.cc
@@ -1,4 +1,4 @@
---- gpu/config/gpu_control_list_unittest.cc.orig 2017-01-26 00:49:14 UTC
+--- gpu/config/gpu_control_list_unittest.cc.orig 2017-04-19 19:06:34 UTC
+++ gpu/config/gpu_control_list_unittest.cc
@@ -175,8 +175,7 @@ TEST_F(GpuControlListTest, VendorOnAllOs
features = control_list->MakeDecision(
diff --git a/www/chromium/files/patch-gpu_config_gpu__info__collector.cc b/www/chromium/files/patch-gpu_config_gpu__info__collector.cc
index 7608cfe..562c2f6 100644
--- a/www/chromium/files/patch-gpu_config_gpu__info__collector.cc
+++ b/www/chromium/files/patch-gpu_config_gpu__info__collector.cc
@@ -1,4 +1,4 @@
---- gpu/config/gpu_info_collector.cc.orig 2017-01-26 00:49:14 UTC
+--- gpu/config/gpu_info_collector.cc.orig 2017-04-19 19:06:34 UTC
+++ gpu/config/gpu_info_collector.cc
@@ -193,8 +193,10 @@ CollectInfoResult CollectGraphicsInfoGL(
gpu_info->pixel_shader_version = glsl_version;
diff --git a/www/chromium/files/patch-gpu_config_gpu__test__config.cc b/www/chromium/files/patch-gpu_config_gpu__test__config.cc
index 65a4eff..b2c8de7 100644
--- a/www/chromium/files/patch-gpu_config_gpu__test__config.cc
+++ b/www/chromium/files/patch-gpu_config_gpu__test__config.cc
@@ -1,4 +1,4 @@
---- gpu/config/gpu_test_config.cc.orig 2017-01-26 00:49:14 UTC
+--- gpu/config/gpu_test_config.cc.orig 2017-04-19 19:06:34 UTC
+++ gpu/config/gpu_test_config.cc
@@ -24,7 +24,7 @@ namespace {
GPUTestConfig::OS GetCurrentOS() {
diff --git a/www/chromium/files/patch-gpu_gles2__conform__support_BUILD.gn b/www/chromium/files/patch-gpu_gles2__conform__support_BUILD.gn
index fa54c91..82d02b2 100644
--- a/www/chromium/files/patch-gpu_gles2__conform__support_BUILD.gn
+++ b/www/chromium/files/patch-gpu_gles2__conform__support_BUILD.gn
@@ -1,4 +1,4 @@
---- gpu/gles2_conform_support/BUILD.gn.orig 2017-01-26 00:49:14 UTC
+--- gpu/gles2_conform_support/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ gpu/gles2_conform_support/BUILD.gn
@@ -60,7 +60,7 @@ executable("gles2_conform_support") {
"//gpu/gles2_conform_support/egl",
diff --git a/www/chromium/files/patch-gpu_gles2__conform__support_native_BUILD.gn b/www/chromium/files/patch-gpu_gles2__conform__support_native_BUILD.gn
index b95cde8..92ca9db 100644
--- a/www/chromium/files/patch-gpu_gles2__conform__support_native_BUILD.gn
+++ b/www/chromium/files/patch-gpu_gles2__conform__support_native_BUILD.gn
@@ -1,4 +1,4 @@
---- gpu/gles2_conform_support/native/BUILD.gn.orig 2017-01-26 00:49:14 UTC
+--- gpu/gles2_conform_support/native/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ gpu/gles2_conform_support/native/BUILD.gn
@@ -20,7 +20,7 @@ source_set("native") {
"//gpu/gles2_conform_support/egl",
diff --git a/www/chromium/files/patch-gpu_ipc_client_BUILD.gn b/www/chromium/files/patch-gpu_ipc_client_BUILD.gn
index 1b4f6c6..8e5c1bb 100644
--- a/www/chromium/files/patch-gpu_ipc_client_BUILD.gn
+++ b/www/chromium/files/patch-gpu_ipc_client_BUILD.gn
@@ -1,4 +1,4 @@
---- gpu/ipc/client/BUILD.gn.orig 2017-03-09 20:04:33 UTC
+--- gpu/ipc/client/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ gpu/ipc/client/BUILD.gn
@@ -44,6 +44,7 @@ source_set("ipc_client_sources") {
configs += [
diff --git a/www/chromium/files/patch-gpu_ipc_service_BUILD.gn b/www/chromium/files/patch-gpu_ipc_service_BUILD.gn
index cf8bdd7..bc82427 100644
--- a/www/chromium/files/patch-gpu_ipc_service_BUILD.gn
+++ b/www/chromium/files/patch-gpu_ipc_service_BUILD.gn
@@ -1,6 +1,6 @@
---- gpu/ipc/service/BUILD.gn.orig 2017-03-09 20:04:33 UTC
+--- gpu/ipc/service/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ gpu/ipc/service/BUILD.gn
-@@ -109,11 +109,12 @@ target(link_target_type, "ipc_service_so
+@@ -110,11 +110,12 @@ target(link_target_type, "ipc_service_so
]
libs += [ "android" ]
}
diff --git a/www/chromium/files/patch-gpu_ipc_service_gpu__init.cc b/www/chromium/files/patch-gpu_ipc_service_gpu__init.cc
index 044a355..ef61b49 100644
--- a/www/chromium/files/patch-gpu_ipc_service_gpu__init.cc
+++ b/www/chromium/files/patch-gpu_ipc_service_gpu__init.cc
@@ -1,4 +1,4 @@
---- gpu/ipc/service/gpu_init.cc.orig 2017-03-09 20:04:33 UTC
+--- gpu/ipc/service/gpu_init.cc.orig 2017-04-19 19:06:34 UTC
+++ gpu/ipc/service/gpu_init.cc
@@ -76,7 +76,7 @@ void GetGpuInfoFromCommandLine(gpu::GPUI
}
@@ -34,5 +34,5 @@
-#endif // !defined(OS_MACOSX)
+#endif // !defined(OS_MACOSX) && !defined(OS_BSD)
- base::TimeDelta collect_context_time =
- base::TimeTicks::Now() - before_collect_context_graphics_info;
+ gpu_feature_info_ = gpu::GetGpuFeatureInfo(gpu_info_, command_line);
+
diff --git a/www/chromium/files/patch-gpu_tools_compositor__model__bench_BUILD.gn b/www/chromium/files/patch-gpu_tools_compositor__model__bench_BUILD.gn
index ccdd6bb..6a60939 100644
--- a/www/chromium/files/patch-gpu_tools_compositor__model__bench_BUILD.gn
+++ b/www/chromium/files/patch-gpu_tools_compositor__model__bench_BUILD.gn
@@ -1,4 +1,4 @@
---- gpu/tools/compositor_model_bench/BUILD.gn.orig 2017-01-26 00:49:14 UTC
+--- gpu/tools/compositor_model_bench/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ gpu/tools/compositor_model_bench/BUILD.gn
@@ -4,7 +4,7 @@
diff --git a/www/chromium/files/patch-gpu_vulkan_BUILD.gn b/www/chromium/files/patch-gpu_vulkan_BUILD.gn
index 50279a9..2dd0aa4 100644
--- a/www/chromium/files/patch-gpu_vulkan_BUILD.gn
+++ b/www/chromium/files/patch-gpu_vulkan_BUILD.gn
@@ -1,4 +1,4 @@
---- gpu/vulkan/BUILD.gn.orig 2017-01-26 00:49:14 UTC
+--- gpu/vulkan/BUILD.gn.orig 2017-04-19 19:06:34 UTC
+++ gpu/vulkan/BUILD.gn
@@ -14,7 +14,7 @@ if (enable_vulkan) {
component("vulkan") {
diff --git a/www/chromium/files/patch-ipc_ipc__channel.h b/www/chromium/files/patch-ipc_ipc__channel.h
index 8f3c7af..ffe5b22 100644
--- a/www/chromium/files/patch-ipc_ipc__channel.h
+++ b/www/chromium/files/patch-ipc_ipc__channel.h
@@ -1,6 +1,6 @@
---- ipc/ipc_channel.h.orig 2017-01-26 00:49:15 UTC
+--- ipc/ipc_channel.h.orig 2017-04-19 19:06:35 UTC
+++ ipc/ipc_channel.h
-@@ -245,7 +245,7 @@ class IPC_EXPORT Channel : public Sender
+@@ -246,7 +246,7 @@ class IPC_EXPORT Channel : public Sender
static std::string GenerateUniqueRandomChannelID();
#endif
diff --git a/www/chromium/files/patch-ipc_ipc__message__utils.cc b/www/chromium/files/patch-ipc_ipc__message__utils.cc
index d0f1064..ccffba6 100644
--- a/www/chromium/files/patch-ipc_ipc__message__utils.cc
+++ b/www/chromium/files/patch-ipc_ipc__message__utils.cc
@@ -1,6 +1,6 @@
---- ipc/ipc_message_utils.cc.orig 2017-01-26 00:49:15 UTC
+--- ipc/ipc_message_utils.cc.orig 2017-04-19 19:06:35 UTC
+++ ipc/ipc_message_utils.cc
-@@ -425,7 +425,7 @@ void ParamTraits<unsigned int>::Log(cons
+@@ -421,7 +421,7 @@ void ParamTraits<unsigned int>::Log(cons
l->append(base::UintToString(p));
}
diff --git a/www/chromium/files/patch-ipc_ipc__message__utils.h b/www/chromium/files/patch-ipc_ipc__message__utils.h
index 9e5a300..4d0604a 100644
--- a/www/chromium/files/patch-ipc_ipc__message__utils.h
+++ b/www/chromium/files/patch-ipc_ipc__message__utils.h
@@ -1,4 +1,4 @@
---- ipc/ipc_message_utils.h.orig 2017-03-09 20:04:34 UTC
+--- ipc/ipc_message_utils.h.orig 2017-04-19 19:06:35 UTC
+++ ipc/ipc_message_utils.h
@@ -209,7 +209,7 @@ struct ParamTraits<unsigned int> {
// 3) Android 64 bit also has int64_t typedef'd to long.
diff --git a/www/chromium/files/patch-mash_package_mash__packaged__service.cc b/www/chromium/files/patch-mash_package_mash__packaged__service.cc
index 5f8421f..5cc467a 100644
--- a/www/chromium/files/patch-mash_package_mash__packaged__service.cc
+++ b/www/chromium/files/patch-mash_package_mash__packaged__service.cc
@@ -1,6 +1,6 @@
---- mash/package/mash_packaged_service.cc.orig 2017-03-09 20:04:34 UTC
+--- mash/package/mash_packaged_service.cc.orig 2017-04-19 19:06:35 UTC
+++ mash/package/mash_packaged_service.cc
-@@ -29,7 +29,7 @@
+@@ -30,7 +30,7 @@
#include "ash/touch_hud/mus/touch_hud_application.h" // nogncheck
#endif
@@ -9,7 +9,7 @@
#include "components/font_service/font_service_app.h"
#endif
-@@ -103,7 +103,7 @@ std::unique_ptr<service_manager::Service
+@@ -104,7 +104,7 @@ std::unique_ptr<service_manager::Service
return base::WrapUnique(new mash::task_viewer::TaskViewer);
if (name == "test_ime_driver")
return base::WrapUnique(new ui::test::TestIMEApplication);
diff --git a/www/chromium/files/patch-media__audio__alsa__audio_manager_alsa.cc b/www/chromium/files/patch-media__audio__alsa__audio_manager_alsa.cc
index dba40d6..0923902 100644
--- a/www/chromium/files/patch-media__audio__alsa__audio_manager_alsa.cc
+++ b/www/chromium/files/patch-media__audio__alsa__audio_manager_alsa.cc
@@ -1,4 +1,4 @@
---- media/audio/alsa/audio_manager_alsa.cc.orig 2017-03-09 20:04:34 UTC
+--- media/audio/alsa/audio_manager_alsa.cc.orig 2017-04-19 19:06:35 UTC
+++ media/audio/alsa/audio_manager_alsa.cc
@@ -138,7 +138,9 @@ void AudioManagerAlsa::GetAlsaAudioDevic
int card = -1;
diff --git a/www/chromium/files/patch-media_audio_BUILD.gn b/www/chromium/files/patch-media_audio_BUILD.gn
index 41a4627..0c873b4 100644
--- a/www/chromium/files/patch-media_audio_BUILD.gn
+++ b/www/chromium/files/patch-media_audio_BUILD.gn
@@ -1,6 +1,6 @@
---- media/audio/BUILD.gn.orig 2017-03-09 20:04:34 UTC
+--- media/audio/BUILD.gn.orig 2017-04-19 19:06:35 UTC
+++ media/audio/BUILD.gn
-@@ -207,7 +207,7 @@ source_set("audio") {
+@@ -212,7 +212,7 @@ source_set("audio") {
deps += [ "//media/base/android:media_jni_headers" ]
}
@@ -9,7 +9,7 @@
sources += [ "linux/audio_manager_linux.cc" ]
}
-@@ -256,10 +256,12 @@ source_set("audio") {
+@@ -261,10 +261,12 @@ source_set("audio") {
configs += [ ":libpulse" ]
} else {
# TODO(ajwong): Technically, this dl should go in the action.
diff --git a/www/chromium/files/patch-media_audio_audio__manager.cc b/www/chromium/files/patch-media_audio_audio__manager.cc
index 2c9571c..73fb170 100644
--- a/www/chromium/files/patch-media_audio_audio__manager.cc
+++ b/www/chromium/files/patch-media_audio_audio__manager.cc
@@ -1,6 +1,6 @@
---- media/audio/audio_manager.cc.orig 2017-03-09 20:04:34 UTC
+--- media/audio/audio_manager.cc.orig 2017-04-19 19:06:35 UTC
+++ media/audio/audio_manager.cc
-@@ -95,7 +95,7 @@ class AudioManagerHelper : public base::
+@@ -93,7 +93,7 @@ class AudioManagerHelper : public base::
}
#endif
@@ -9,7 +9,7 @@
void set_app_name(const std::string& app_name) { app_name_ = app_name; }
const std::string& app_name() const { return app_name_; }
#endif
-@@ -253,7 +253,7 @@ class AudioManagerHelper : public base::
+@@ -227,7 +227,7 @@ class AudioManagerHelper : public base::
std::unique_ptr<base::win::ScopedCOMInitializer> com_initializer_for_testing_;
#endif
@@ -18,12 +18,12 @@
std::string app_name_;
#endif
-@@ -369,7 +369,7 @@ void AudioManager::EnableCrashKeyLogging
- g_helper.Pointer()->enable_crash_key_logging();
+@@ -342,7 +342,7 @@ void AudioManager::StartHangMonitorIfNee
+ GetHelper()->StartHangTimer(std::move(task_runner));
}
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_FREEBSD)
// static
void AudioManager::SetGlobalAppName(const std::string& app_name) {
- g_helper.Pointer()->set_app_name(app_name);
+ GetHelper()->set_app_name(app_name);
diff --git a/www/chromium/files/patch-media_audio_audio__manager.h b/www/chromium/files/patch-media_audio_audio__manager.h
index 7272a8e..8431068 100644
--- a/www/chromium/files/patch-media_audio_audio__manager.h
+++ b/www/chromium/files/patch-media_audio_audio__manager.h
@@ -1,8 +1,8 @@
---- media/audio/audio_manager.h.orig 2017-01-26 00:49:15 UTC
+--- media/audio/audio_manager.h.orig 2017-04-19 19:06:35 UTC
+++ media/audio/audio_manager.h
-@@ -84,7 +84,7 @@ class MEDIA_EXPORT AudioManager {
- // See http://crbug.com/422522
- static void EnableCrashKeyLoggingForAudioThreadHangs();
+@@ -81,7 +81,7 @@ class MEDIA_EXPORT AudioManager {
+ static void StartHangMonitorIfNeeded(
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner);
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_FREEBSD)
diff --git a/www/chromium/files/patch-media_base_BUILD.gn b/www/chromium/files/patch-media_base_BUILD.gn
index dc04ed7..2c8aea8 100644
--- a/www/chromium/files/patch-media_base_BUILD.gn
+++ b/www/chromium/files/patch-media_base_BUILD.gn
@@ -1,6 +1,6 @@
---- media/base/BUILD.gn.orig 2017-03-09 20:04:34 UTC
+--- media/base/BUILD.gn.orig 2017-04-19 19:06:35 UTC
+++ media/base/BUILD.gn
-@@ -311,7 +311,7 @@ target(link_target_type, "base") {
+@@ -305,7 +305,7 @@ target(link_target_type, "base") {
allow_circular_includes_from += [ "//media/base/android" ]
}
@@ -9,8 +9,8 @@
configs += [
"//build/config/linux:x11",
"//build/config/linux:xext",
-@@ -347,7 +347,7 @@ target(link_target_type, "base") {
- deps += [ ":media_yasm" ]
+@@ -331,7 +331,7 @@ target(link_target_type, "base") {
+ defines += [ "DISABLE_USER_INPUT_MONITOR" ]
}
- if (is_linux || is_win) {
diff --git a/www/chromium/files/patch-media_base_audio__latency.cc b/www/chromium/files/patch-media_base_audio__latency.cc
index f1fb5aa..08780cd 100644
--- a/www/chromium/files/patch-media_base_audio__latency.cc
+++ b/www/chromium/files/patch-media_base_audio__latency.cc
@@ -1,4 +1,4 @@
---- media/base/audio_latency.cc.orig 2017-02-02 02:02:55 UTC
+--- media/base/audio_latency.cc.orig 2017-04-19 19:06:35 UTC
+++ media/base/audio_latency.cc
@@ -83,7 +83,7 @@ int AudioLatency::GetRtcBufferSize(int s
return frames_per_buffer;
diff --git a/www/chromium/files/patch-media_base_video__frame.cc b/www/chromium/files/patch-media_base_video__frame.cc
index 59ba49a..29406d9 100644
--- a/www/chromium/files/patch-media_base_video__frame.cc
+++ b/www/chromium/files/patch-media_base_video__frame.cc
@@ -1,4 +1,4 @@
---- media/base/video_frame.cc.orig 2017-03-09 20:04:34 UTC
+--- media/base/video_frame.cc.orig 2017-04-19 19:06:35 UTC
+++ media/base/video_frame.cc
@@ -53,7 +53,7 @@ static std::string StorageTypeToString(
return "OWNED_MEMORY";
diff --git a/www/chromium/files/patch-media_base_video__frame.h b/www/chromium/files/patch-media_base_video__frame.h
index 47057ec..3f650d9 100644
--- a/www/chromium/files/patch-media_base_video__frame.h
+++ b/www/chromium/files/patch-media_base_video__frame.h
@@ -1,4 +1,4 @@
---- media/base/video_frame.h.orig 2017-02-02 02:02:55 UTC
+--- media/base/video_frame.h.orig 2017-04-19 19:06:35 UTC
+++ media/base/video_frame.h
@@ -62,7 +62,7 @@ class MEDIA_EXPORT VideoFrame : public b
STORAGE_UNOWNED_MEMORY = 2, // External, non owned data pointers.
@@ -27,7 +27,7 @@
// Returns backing DmaBuf file descriptor for given |plane|, if present, or
// -1 if not.
// TODO(mcasas): Rename to DmabufFd() to comply with Style Guide.
-@@ -519,7 +519,7 @@ class MEDIA_EXPORT VideoFrame : public b
+@@ -528,7 +528,7 @@ class MEDIA_EXPORT VideoFrame : public b
base::SharedMemoryHandle shared_memory_handle_;
size_t shared_memory_offset_;
diff --git a/www/chromium/files/patch-media_capture_BUILD.gn b/www/chromium/files/patch-media_capture_BUILD.gn
index 9717506..c48066b 100644
--- a/www/chromium/files/patch-media_capture_BUILD.gn
+++ b/www/chromium/files/patch-media_capture_BUILD.gn
@@ -1,6 +1,6 @@
---- media/capture/BUILD.gn.orig 2017-03-09 20:04:34 UTC
+--- media/capture/BUILD.gn.orig 2017-04-19 19:06:35 UTC
+++ media/capture/BUILD.gn
-@@ -135,6 +135,16 @@ component("capture") {
+@@ -153,6 +153,16 @@ component("capture_lib") {
]
}
@@ -15,5 +15,5 @@
+ }
+
if (is_win) {
- deps += [
- "//media/base", # For media_switches.
+ deps += [ "//media/base/win" ]
+ libs = [
diff --git a/www/chromium/files/patch-media_capture_video_fake__video__capture__device__factory.cc b/www/chromium/files/patch-media_capture_video_fake__video__capture__device__factory.cc
index 2e488ad..182a4ca 100644
--- a/www/chromium/files/patch-media_capture_video_fake__video__capture__device__factory.cc
+++ b/www/chromium/files/patch-media_capture_video_fake__video__capture__device__factory.cc
@@ -1,11 +1,11 @@
---- media/capture/video/fake_video_capture_device_factory.cc.orig 2017-01-26 00:49:15 UTC
+--- media/capture/video/fake_video_capture_device_factory.cc.orig 2017-04-19 19:06:35 UTC
+++ media/capture/video/fake_video_capture_device_factory.cc
-@@ -71,7 +71,7 @@ void FakeVideoCaptureDeviceFactory::GetD
- for (int n = 0; n < number_of_devices_; ++n) {
- device_descriptors->emplace_back(base::StringPrintf("fake_device_%d", n),
- base::StringPrintf("/dev/video%d", n),
+@@ -192,7 +192,7 @@ void FakeVideoCaptureDeviceFactory::GetD
+ for (const auto& entry : devices_config_) {
+ device_descriptors->emplace_back(
+ base::StringPrintf("fake_device_%d", entry_index), entry.device_id,
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
- VideoCaptureApi::LINUX_V4L2_SINGLE_PLANE
+ VideoCaptureApi::LINUX_V4L2_SINGLE_PLANE
#elif defined(OS_MACOSX)
- VideoCaptureApi::MACOSX_AVFOUNDATION
+ VideoCaptureApi::MACOSX_AVFOUNDATION
diff --git a/www/chromium/files/patch-media_capture_video_file__video__capture__device__factory.cc b/www/chromium/files/patch-media_capture_video_file__video__capture__device__factory.cc
index f35681f..48e064a 100644
--- a/www/chromium/files/patch-media_capture_video_file__video__capture__device__factory.cc
+++ b/www/chromium/files/patch-media_capture_video_file__video__capture__device__factory.cc
@@ -1,4 +1,4 @@
---- media/capture/video/file_video_capture_device_factory.cc.orig 2017-01-26 00:49:15 UTC
+--- media/capture/video/file_video_capture_device_factory.cc.orig 2017-04-19 19:06:35 UTC
+++ media/capture/video/file_video_capture_device_factory.cc
@@ -53,7 +53,7 @@ void FileVideoCaptureDeviceFactory::GetD
#elif defined(OS_MACOSX)
diff --git a/www/chromium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc b/www/chromium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc
index 72a0cb3..575db56 100644
--- a/www/chromium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc
+++ b/www/chromium/files/patch-media_capture_video_linux_v4l2__capture__delegate.cc
@@ -1,4 +1,4 @@
---- media/capture/video/linux/v4l2_capture_delegate.cc.orig 2017-03-09 20:04:34 UTC
+--- media/capture/video/linux/v4l2_capture_delegate.cc.orig 2017-04-19 19:06:35 UTC
+++ media/capture/video/linux/v4l2_capture_delegate.cc
@@ -4,8 +4,10 @@
diff --git a/www/chromium/files/patch-media_capture_video_linux_video__capture__device__linux.cc b/www/chromium/files/patch-media_capture_video_linux_video__capture__device__linux.cc
index f88eb5e..695e2db 100644
--- a/www/chromium/files/patch-media_capture_video_linux_video__capture__device__linux.cc
+++ b/www/chromium/files/patch-media_capture_video_linux_video__capture__device__linux.cc
@@ -1,4 +1,4 @@
---- media/capture/video/linux/video_capture_device_linux.cc.orig 2017-03-09 20:04:34 UTC
+--- media/capture/video/linux/video_capture_device_linux.cc.orig 2017-04-19 19:06:35 UTC
+++ media/capture/video/linux/video_capture_device_linux.cc
@@ -21,6 +21,7 @@
diff --git a/www/chromium/files/patch-media_capture_video_video__capture__device__client.cc b/www/chromium/files/patch-media_capture_video_video__capture__device__client.cc
index 816c199..0bd1db3 100644
--- a/www/chromium/files/patch-media_capture_video_video__capture__device__client.cc
+++ b/www/chromium/files/patch-media_capture_video_video__capture__device__client.cc
@@ -1,6 +1,6 @@
---- media/capture/video/video_capture_device_client.cc.orig 2017-03-09 20:04:34 UTC
+--- media/capture/video/video_capture_device_client.cc.orig 2017-04-19 19:06:35 UTC
+++ media/capture/video/video_capture_device_client.cc
-@@ -220,7 +220,7 @@ void VideoCaptureDeviceClient::OnIncomin
+@@ -238,7 +238,7 @@ void VideoCaptureDeviceClient::OnIncomin
// see http://linuxtv.org/downloads/v4l-dvb-apis/packed-rgb.html.
// Windows RGB24 defines blue at lowest byte,
// see https://msdn.microsoft.com/en-us/library/windows/desktop/dd407253
diff --git a/www/chromium/files/patch-media_capture_video_video__capture__device__factory.cc b/www/chromium/files/patch-media_capture_video_video__capture__device__factory.cc
index a88d1e0..3e51687 100644
--- a/www/chromium/files/patch-media_capture_video_video__capture__device__factory.cc
+++ b/www/chromium/files/patch-media_capture_video_video__capture__device__factory.cc
@@ -1,4 +1,4 @@
---- media/capture/video/video_capture_device_factory.cc.orig 2017-01-26 00:49:15 UTC
+--- media/capture/video/video_capture_device_factory.cc.orig 2017-04-19 19:06:35 UTC
+++ media/capture/video/video_capture_device_factory.cc
@@ -18,6 +18,10 @@ namespace media {
std::unique_ptr<VideoCaptureDeviceFactory>
@@ -11,7 +11,7 @@
const base::CommandLine* command_line =
base::CommandLine::ForCurrentProcess();
// Use a Fake or File Video Device Factory if the command line flags are
-@@ -36,6 +40,7 @@ VideoCaptureDeviceFactory::CreateFactory
+@@ -42,6 +46,7 @@ VideoCaptureDeviceFactory::CreateFactory
return std::unique_ptr<VideoCaptureDeviceFactory>(
CreateVideoCaptureDeviceFactory(ui_task_runner));
}
@@ -19,7 +19,7 @@
}
VideoCaptureDeviceFactory::VideoCaptureDeviceFactory() {
-@@ -55,7 +60,7 @@ void VideoCaptureDeviceFactory::Enumerat
+@@ -61,7 +66,7 @@ void VideoCaptureDeviceFactory::Enumerat
callback.Run(std::move(device_descriptors));
}
diff --git a/www/chromium/files/patch-media_cast_BUILD.gn b/www/chromium/files/patch-media_cast_BUILD.gn
index 383281c..3288140 100644
--- a/www/chromium/files/patch-media_cast_BUILD.gn
+++ b/www/chromium/files/patch-media_cast_BUILD.gn
@@ -1,4 +1,4 @@
---- media/cast/BUILD.gn.orig 2017-03-09 20:04:34 UTC
+--- media/cast/BUILD.gn.orig 2017-04-19 19:06:35 UTC
+++ media/cast/BUILD.gn
@@ -358,7 +358,7 @@ test("cast_unittests") {
}
diff --git a/www/chromium/files/patch-media_cdm_ppapi_ppapi__cdm__adapter.gni b/www/chromium/files/patch-media_cdm_ppapi_ppapi__cdm__adapter.gni
index fd36cc0..f99a58f 100644
--- a/www/chromium/files/patch-media_cdm_ppapi_ppapi__cdm__adapter.gni
+++ b/www/chromium/files/patch-media_cdm_ppapi_ppapi__cdm__adapter.gni
@@ -1,4 +1,4 @@
---- media/cdm/ppapi/ppapi_cdm_adapter.gni.orig 2017-01-26 00:49:15 UTC
+--- media/cdm/ppapi/ppapi_cdm_adapter.gni.orig 2017-04-19 19:06:35 UTC
+++ media/cdm/ppapi/ppapi_cdm_adapter.gni
@@ -5,7 +5,7 @@
# This template defines a CDM adapter target. Just use this as you would a
diff --git a/www/chromium/files/patch-media_ffmpeg_ffmpeg__common.h b/www/chromium/files/patch-media_ffmpeg_ffmpeg__common.h
index d437727..b1f46be 100644
--- a/www/chromium/files/patch-media_ffmpeg_ffmpeg__common.h
+++ b/www/chromium/files/patch-media_ffmpeg_ffmpeg__common.h
@@ -1,4 +1,4 @@
---- media/ffmpeg/ffmpeg_common.h.orig 2017-01-26 00:49:15 UTC
+--- media/ffmpeg/ffmpeg_common.h.orig 2017-04-19 19:06:35 UTC
+++ media/ffmpeg/ffmpeg_common.h
@@ -25,7 +25,7 @@ extern "C" {
// Disable deprecated features which result in spammy compile warnings. This
diff --git a/www/chromium/files/patch-media_filters_ffmpeg__demuxer.cc b/www/chromium/files/patch-media_filters_ffmpeg__demuxer.cc
index d015745..0080af1 100644
--- a/www/chromium/files/patch-media_filters_ffmpeg__demuxer.cc
+++ b/www/chromium/files/patch-media_filters_ffmpeg__demuxer.cc
@@ -1,6 +1,6 @@
---- media/filters/ffmpeg_demuxer.cc.orig 2017-03-09 20:04:34 UTC
+--- media/filters/ffmpeg_demuxer.cc.orig 2017-04-19 19:06:35 UTC
+++ media/filters/ffmpeg_demuxer.cc
-@@ -1195,24 +1195,6 @@ void FFmpegDemuxer::OnFindStreamInfoDone
+@@ -1221,24 +1221,6 @@ void FFmpegDemuxer::OnFindStreamInfoDone
// If no estimate is found, the stream entry will be kInfiniteDuration.
std::vector<base::TimeDelta> start_time_estimates(format_context->nb_streams,
kInfiniteDuration);
diff --git a/www/chromium/files/patch-media_filters_vp9__parser.h b/www/chromium/files/patch-media_filters_vp9__parser.h
index a8f4ef0..8cb60f9 100644
--- a/www/chromium/files/patch-media_filters_vp9__parser.h
+++ b/www/chromium/files/patch-media_filters_vp9__parser.h
@@ -1,4 +1,4 @@
---- media/filters/vp9_parser.h.orig 2017-01-26 00:49:15 UTC
+--- media/filters/vp9_parser.h.orig 2017-04-19 19:06:35 UTC
+++ media/filters/vp9_parser.h
@@ -14,6 +14,7 @@
diff --git a/www/chromium/files/patch-media_formats_common_offset__byte__queue.cc b/www/chromium/files/patch-media_formats_common_offset__byte__queue.cc
index 67b3c9a..2e1dd66 100644
--- a/www/chromium/files/patch-media_formats_common_offset__byte__queue.cc
+++ b/www/chromium/files/patch-media_formats_common_offset__byte__queue.cc
@@ -1,4 +1,4 @@
---- media/formats/common/offset_byte_queue.cc.orig 2017-01-26 00:49:15 UTC
+--- media/formats/common/offset_byte_queue.cc.orig 2017-04-19 19:06:35 UTC
+++ media/formats/common/offset_byte_queue.cc
@@ -46,13 +46,13 @@ void OffsetByteQueue::PeekAt(int64_t off
*size = tail() - offset;
diff --git a/www/chromium/files/patch-media_formats_common_offset__byte__queue.h b/www/chromium/files/patch-media_formats_common_offset__byte__queue.h
index 2a5b914..807a086 100644
--- a/www/chromium/files/patch-media_formats_common_offset__byte__queue.h
+++ b/www/chromium/files/patch-media_formats_common_offset__byte__queue.h
@@ -1,4 +1,4 @@
---- media/formats/common/offset_byte_queue.h.orig 2017-01-26 00:49:15 UTC
+--- media/formats/common/offset_byte_queue.h.orig 2017-04-19 19:06:35 UTC
+++ media/formats/common/offset_byte_queue.h
@@ -36,15 +36,15 @@ class MEDIA_EXPORT OffsetByteQueue {
// a null |buf| and a |size| of zero.
diff --git a/www/chromium/files/patch-media_formats_mp2t_es__parser__adts.cc b/www/chromium/files/patch-media_formats_mp2t_es__parser__adts.cc
index a783be4..965a64b 100644
--- a/www/chromium/files/patch-media_formats_mp2t_es__parser__adts.cc
+++ b/www/chromium/files/patch-media_formats_mp2t_es__parser__adts.cc
@@ -1,4 +1,4 @@
---- media/formats/mp2t/es_parser_adts.cc.orig 2017-03-09 20:04:34 UTC
+--- media/formats/mp2t/es_parser_adts.cc.orig 2017-04-19 19:06:35 UTC
+++ media/formats/mp2t/es_parser_adts.cc
@@ -60,11 +60,11 @@ bool EsParserAdts::LookForAdtsFrame(Adts
const uint8_t* es;
diff --git a/www/chromium/files/patch-media_formats_mp2t_es__parser__mpeg1audio.cc b/www/chromium/files/patch-media_formats_mp2t_es__parser__mpeg1audio.cc
index 47f192d..8353d94 100644
--- a/www/chromium/files/patch-media_formats_mp2t_es__parser__mpeg1audio.cc
+++ b/www/chromium/files/patch-media_formats_mp2t_es__parser__mpeg1audio.cc
@@ -1,4 +1,4 @@
---- media/formats/mp2t/es_parser_mpeg1audio.cc.orig 2017-01-26 00:49:15 UTC
+--- media/formats/mp2t/es_parser_mpeg1audio.cc.orig 2017-04-19 19:06:35 UTC
+++ media/formats/mp2t/es_parser_mpeg1audio.cc
@@ -109,11 +109,11 @@ bool EsParserMpeg1Audio::LookForMpeg1Aud
const uint8_t* es;
diff --git a/www/chromium/files/patch-mojo_BUILD.gn b/www/chromium/files/patch-mojo_BUILD.gn
index 3c361a9..c89989f 100644
--- a/www/chromium/files/patch-mojo_BUILD.gn
+++ b/www/chromium/files/patch-mojo_BUILD.gn
@@ -1,4 +1,4 @@
---- mojo/BUILD.gn.orig 2017-01-26 00:49:15 UTC
+--- mojo/BUILD.gn.orig 2017-04-19 19:06:35 UTC
+++ mojo/BUILD.gn
@@ -12,7 +12,7 @@ group("mojo") {
"//mojo/common",
diff --git a/www/chromium/files/patch-mojo_edk_test_BUILD.gn b/www/chromium/files/patch-mojo_edk_test_BUILD.gn
index bf2a989..19e36a5 100644
--- a/www/chromium/files/patch-mojo_edk_test_BUILD.gn
+++ b/www/chromium/files/patch-mojo_edk_test_BUILD.gn
@@ -1,4 +1,4 @@
---- mojo/edk/test/BUILD.gn.orig 2017-03-09 20:04:34 UTC
+--- mojo/edk/test/BUILD.gn.orig 2017-04-19 19:06:35 UTC
+++ mojo/edk/test/BUILD.gn
@@ -46,7 +46,7 @@ source_set("run_all_unittests") {
"//testing/gtest",
diff --git a/www/chromium/files/patch-native__client__sdk_src_BUILD.gn b/www/chromium/files/patch-native__client__sdk_src_BUILD.gn
index 9a7521b..6983b7f 100644
--- a/www/chromium/files/patch-native__client__sdk_src_BUILD.gn
+++ b/www/chromium/files/patch-native__client__sdk_src_BUILD.gn
@@ -1,4 +1,4 @@
---- native_client_sdk/src/BUILD.gn.orig 2017-01-26 00:49:16 UTC
+--- native_client_sdk/src/BUILD.gn.orig 2017-04-19 19:06:36 UTC
+++ native_client_sdk/src/BUILD.gn
@@ -7,7 +7,7 @@ import("//build/config/features.gni")
declare_args() {
diff --git a/www/chromium/files/patch-net_BUILD.gn b/www/chromium/files/patch-net_BUILD.gn
index 1550b8a..15c93a3 100644
--- a/www/chromium/files/patch-net_BUILD.gn
+++ b/www/chromium/files/patch-net_BUILD.gn
@@ -1,6 +1,6 @@
---- net/BUILD.gn.orig 2017-03-09 20:04:35 UTC
+--- net/BUILD.gn.orig 2017-04-19 19:06:36 UTC
+++ net/BUILD.gn
-@@ -82,7 +82,7 @@ if (use_glib && use_gconf && !is_chromeo
+@@ -79,7 +79,7 @@ if (use_glib && use_gconf && !is_chromeo
net_configs += [ "//build/config/linux/gconf" ]
}
@@ -9,7 +9,7 @@
net_configs += [ "//build/config/linux:libresolv" ]
}
-@@ -281,6 +281,16 @@ component("net") {
+@@ -1824,6 +1824,16 @@ component("net") {
sources -= [ "disk_cache/blockfile/file_posix.cc" ]
}
@@ -24,9 +24,9 @@
+ }
+
if (is_ios || is_mac) {
- sources += gypi_values.net_base_mac_ios_sources
- }
-@@ -962,7 +972,7 @@ if (!is_ios && !is_android) {
+ sources += [
+ "base/mac/url_conversions.h",
+@@ -2773,7 +2783,7 @@ if (!is_ios && !is_android) {
}
}
@@ -35,7 +35,7 @@
executable("cachetool") {
testonly = true
sources = [
-@@ -991,7 +1001,7 @@ if (is_linux || is_mac) {
+@@ -2802,7 +2812,7 @@ if (is_linux || is_mac) {
}
}
@@ -44,7 +44,7 @@
static_library("epoll_server") {
sources = [
"tools/epoll_server/epoll_server.cc",
-@@ -1095,7 +1105,7 @@ if (is_android) {
+@@ -2906,7 +2916,7 @@ if (is_android) {
}
}
@@ -53,7 +53,7 @@
executable("disk_cache_memory_test") {
testonly = true
sources = [
-@@ -1276,7 +1286,7 @@ test("net_unittests") {
+@@ -4767,7 +4777,7 @@ test("net_unittests") {
"third_party/nist-pkits/",
]
@@ -62,25 +62,23 @@
deps += [
"//third_party/pyftpdlib/",
"//third_party/pywebsocket/",
-@@ -1299,7 +1309,7 @@ test("net_unittests") {
+@@ -4790,7 +4800,7 @@ test("net_unittests") {
if (is_desktop_linux) {
deps += [ ":epoll_quic_tools" ]
}
- if (is_linux) {
+ if (is_linux || is_bsd) {
- sources += gypi_values.net_linux_test_sources
- deps += [
- ":epoll_quic_tools",
-@@ -1319,6 +1329,12 @@ test("net_unittests") {
+ sources += [
+ "tools/quic/chlo_extractor_test.cc",
+ "tools/quic/end_to_end_test.cc",
+@@ -4852,6 +4862,10 @@ test("net_unittests") {
sources -= [ "proxy/proxy_config_service_linux_unittest.cc" ]
}
+ if (is_bsd) {
-+ sources -= [
-+ "base/address_tracker_linux_unittest.cc",
-+ ]
++ sources -= [ "base/address_tracker_linux_unittest.cc" ]
+ }
+
- if (v8_use_external_startup_data) {
+ if (!is_proto_quic && v8_use_external_startup_data) {
deps += [ "//gin" ]
}
diff --git a/www/chromium/files/patch-net_base_address__tracker__linux.h b/www/chromium/files/patch-net_base_address__tracker__linux.h
index 40de388..71a5be5 100644
--- a/www/chromium/files/patch-net_base_address__tracker__linux.h
+++ b/www/chromium/files/patch-net_base_address__tracker__linux.h
@@ -1,4 +1,4 @@
---- net/base/address_tracker_linux.h.orig 2017-01-26 00:49:16 UTC
+--- net/base/address_tracker_linux.h.orig 2017-04-19 19:06:36 UTC
+++ net/base/address_tracker_linux.h
@@ -6,10 +6,12 @@
#define NET_BASE_ADDRESS_TRACKER_LINUX_H_
diff --git a/www/chromium/files/patch-net_base_address__tracker__linux__unittest.cc b/www/chromium/files/patch-net_base_address__tracker__linux__unittest.cc
index bd31441..fe4b502 100644
--- a/www/chromium/files/patch-net_base_address__tracker__linux__unittest.cc
+++ b/www/chromium/files/patch-net_base_address__tracker__linux__unittest.cc
@@ -1,4 +1,4 @@
---- net/base/address_tracker_linux_unittest.cc.orig 2017-01-26 00:49:16 UTC
+--- net/base/address_tracker_linux_unittest.cc.orig 2017-04-19 19:06:36 UTC
+++ net/base/address_tracker_linux_unittest.cc
@@ -4,7 +4,11 @@
diff --git a/www/chromium/files/patch-net_base_mime__util__unittest.cc b/www/chromium/files/patch-net_base_mime__util__unittest.cc
index 0bb7e31..83c743b 100644
--- a/www/chromium/files/patch-net_base_mime__util__unittest.cc
+++ b/www/chromium/files/patch-net_base_mime__util__unittest.cc
@@ -1,11 +1,11 @@
---- net/base/mime_util_unittest.cc.orig 2017-01-26 00:49:16 UTC
+--- net/base/mime_util_unittest.cc.orig 2017-04-19 19:06:36 UTC
+++ net/base/mime_util_unittest.cc
-@@ -243,7 +243,7 @@ TEST(MimeUtilTest, TestGetExtensionsForM
- { "MeSsAge/*", 1, "eml" },
- { "image/bmp", 1, "bmp" },
- { "video/*", 6, "mp4" },
+@@ -250,7 +250,7 @@ TEST(MimeUtilTest, TestGetExtensionsForM
+ {"message/", 0, NULL, true},
+ {"image/bmp", 1, "bmp"},
+ {"video/*", 6, "mp4"},
-#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_IOS)
+#if (defined(OS_POSIX) && !defined(OS_MACOSX)) || defined(OS_IOS)
- { "video/*", 6, "mpg" },
+ {"video/*", 6, "mpg"},
#else
- { "video/*", 6, "mpeg" },
+ {"video/*", 6, "mpeg"},
diff --git a/www/chromium/files/patch-net_base_network__change__notifier.cc b/www/chromium/files/patch-net_base_network__change__notifier.cc
index 1865da7..9f6c055 100644
--- a/www/chromium/files/patch-net_base_network__change__notifier.cc
+++ b/www/chromium/files/patch-net_base_network__change__notifier.cc
@@ -1,4 +1,4 @@
---- net/base/network_change_notifier.cc.orig 2017-02-02 02:02:56 UTC
+--- net/base/network_change_notifier.cc.orig 2017-04-19 19:06:36 UTC
+++ net/base/network_change_notifier.cc
@@ -533,7 +533,6 @@ NetworkChangeNotifier* NetworkChangeNoti
#elif defined(OS_MACOSX)
diff --git a/www/chromium/files/patch-net_base_network__interfaces__posix.cc b/www/chromium/files/patch-net_base_network__interfaces__posix.cc
index 7a0d0f1..9687f1b8 100644
--- a/www/chromium/files/patch-net_base_network__interfaces__posix.cc
+++ b/www/chromium/files/patch-net_base_network__interfaces__posix.cc
@@ -1,4 +1,4 @@
---- net/base/network_interfaces_posix.cc.orig 2017-02-02 02:02:56 UTC
+--- net/base/network_interfaces_posix.cc.orig 2017-04-19 19:06:36 UTC
+++ net/base/network_interfaces_posix.cc
@@ -9,7 +9,7 @@
#include <memory>
diff --git a/www/chromium/files/patch-net_disk__cache_blockfile_disk__format.h b/www/chromium/files/patch-net_disk__cache_blockfile_disk__format.h
index 55eb34b..03ee840 100644
--- a/www/chromium/files/patch-net_disk__cache_blockfile_disk__format.h
+++ b/www/chromium/files/patch-net_disk__cache_blockfile_disk__format.h
@@ -1,4 +1,4 @@
---- net/disk_cache/blockfile/disk_format.h.orig 2017-02-02 02:02:56 UTC
+--- net/disk_cache/blockfile/disk_format.h.orig 2017-04-19 19:06:36 UTC
+++ net/disk_cache/blockfile/disk_format.h
@@ -149,7 +149,9 @@ struct RankingsNode {
};
diff --git a/www/chromium/files/patch-net_dns_address__sorter__posix.cc b/www/chromium/files/patch-net_dns_address__sorter__posix.cc
index cb1b3be..6e408eb 100644
--- a/www/chromium/files/patch-net_dns_address__sorter__posix.cc
+++ b/www/chromium/files/patch-net_dns_address__sorter__posix.cc
@@ -1,4 +1,4 @@
---- net/dns/address_sorter_posix.cc.orig 2017-01-26 00:49:16 UTC
+--- net/dns/address_sorter_posix.cc.orig 2017-04-19 19:06:36 UTC
+++ net/dns/address_sorter_posix.cc
@@ -13,6 +13,7 @@
#include <sys/socket.h> // Must be included before ifaddrs.h.
diff --git a/www/chromium/files/patch-net_dns_dns__config__service__posix__unittest.cc b/www/chromium/files/patch-net_dns_dns__config__service__posix__unittest.cc
index 38e160e..55f5114 100644
--- a/www/chromium/files/patch-net_dns_dns__config__service__posix__unittest.cc
+++ b/www/chromium/files/patch-net_dns_dns__config__service__posix__unittest.cc
@@ -1,4 +1,4 @@
---- net/dns/dns_config_service_posix_unittest.cc.orig 2017-01-26 00:49:16 UTC
+--- net/dns/dns_config_service_posix_unittest.cc.orig 2017-04-19 19:06:36 UTC
+++ net/dns/dns_config_service_posix_unittest.cc
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
diff --git a/www/chromium/files/patch-net_dns_dns__reloader.cc b/www/chromium/files/patch-net_dns_dns__reloader.cc
index 6e4be98..8ca6af2 100644
--- a/www/chromium/files/patch-net_dns_dns__reloader.cc
+++ b/www/chromium/files/patch-net_dns_dns__reloader.cc
@@ -1,4 +1,4 @@
---- net/dns/dns_reloader.cc.orig 2017-01-26 00:49:16 UTC
+--- net/dns/dns_reloader.cc.orig 2017-04-19 19:06:36 UTC
+++ net/dns/dns_reloader.cc
@@ -7,6 +7,10 @@
#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD) && \
diff --git a/www/chromium/files/patch-net_dns_dns__util.cc b/www/chromium/files/patch-net_dns_dns__util.cc
index f6d5432..cc263cb 100644
--- a/www/chromium/files/patch-net_dns_dns__util.cc
+++ b/www/chromium/files/patch-net_dns_dns__util.cc
@@ -1,4 +1,4 @@
---- net/dns/dns_util.cc.orig 2017-02-02 02:02:56 UTC
+--- net/dns/dns_util.cc.orig 2017-04-19 19:06:36 UTC
+++ net/dns/dns_util.cc
@@ -15,6 +15,8 @@
#include "build/build_config.h"
diff --git a/www/chromium/files/patch-net_dns_host__resolver__proc.cc b/www/chromium/files/patch-net_dns_host__resolver__proc.cc
index 1551634..25a3824 100644
--- a/www/chromium/files/patch-net_dns_host__resolver__proc.cc
+++ b/www/chromium/files/patch-net_dns_host__resolver__proc.cc
@@ -1,4 +1,4 @@
---- net/dns/host_resolver_proc.cc.orig 2017-02-02 02:02:56 UTC
+--- net/dns/host_resolver_proc.cc.orig 2017-04-19 19:06:36 UTC
+++ net/dns/host_resolver_proc.cc
@@ -194,7 +194,7 @@ int SystemHostResolverCall(const std::st
hints.ai_socktype = SOCK_STREAM;
diff --git a/www/chromium/files/patch-net_http_http__auth__gssapi__posix.cc b/www/chromium/files/patch-net_http_http__auth__gssapi__posix.cc
index 649307c..09bb69f 100644
--- a/www/chromium/files/patch-net_http_http__auth__gssapi__posix.cc
+++ b/www/chromium/files/patch-net_http_http__auth__gssapi__posix.cc
@@ -1,4 +1,4 @@
---- net/http/http_auth_gssapi_posix.cc.orig 2017-03-09 20:04:35 UTC
+--- net/http/http_auth_gssapi_posix.cc.orig 2017-04-19 19:06:36 UTC
+++ net/http/http_auth_gssapi_posix.cc
@@ -431,8 +431,8 @@ base::NativeLibrary GSSAPISharedLibrary:
static const char* const kDefaultLibraryNames[] = {
diff --git a/www/chromium/files/patch-net_http_http__network__session.cc b/www/chromium/files/patch-net_http_http__network__session.cc
index cdefb6d..c915a54 100644
--- a/www/chromium/files/patch-net_http_http__network__session.cc
+++ b/www/chromium/files/patch-net_http_http__network__session.cc
@@ -1,6 +1,6 @@
---- net/http/http_network_session.cc.orig 2017-03-09 20:04:35 UTC
+--- net/http/http_network_session.cc.orig 2017-04-19 19:06:36 UTC
+++ net/http/http_network_session.cc
-@@ -20,7 +20,9 @@
+@@ -23,7 +23,9 @@
#include "base/trace_event/process_memory_dump.h"
#include "base/values.h"
#include "net/base/network_throttle_manager_impl.h"
diff --git a/www/chromium/files/patch-net_proxy_proxy__config__service__linux.cc b/www/chromium/files/patch-net_proxy_proxy__config__service__linux.cc
index 5c8b5fc..1e75635 100644
--- a/www/chromium/files/patch-net_proxy_proxy__config__service__linux.cc
+++ b/www/chromium/files/patch-net_proxy_proxy__config__service__linux.cc
@@ -1,4 +1,4 @@
---- net/proxy/proxy_config_service_linux.cc.orig 2017-01-26 00:49:16 UTC
+--- net/proxy/proxy_config_service_linux.cc.orig 2017-04-19 19:06:36 UTC
+++ net/proxy/proxy_config_service_linux.cc
@@ -11,7 +11,14 @@
#include <limits.h>
@@ -20,10 +20,10 @@
explicit SettingGetterImplKDE(base::Environment* env_var_getter)
: inotify_fd_(-1),
+ config_fd_(-1),
+ inotify_watcher_(FROM_HERE),
notify_delegate_(nullptr),
debounce_timer_(new base::OneShotTimer()),
- indirect_manual_(false),
-@@ -937,9 +945,10 @@ class SettingGetterImplKDE : public Prox
+@@ -938,9 +946,10 @@ class SettingGetterImplKDE : public Prox
// and pending tasks may then be deleted without being run.
// Here in the KDE version, we can safely close the file descriptor
// anyway. (Not that it really matters; the process is exiting.)
@@ -35,7 +35,7 @@
}
bool Init(const scoped_refptr<base::SingleThreadTaskRunner>& glib_task_runner,
-@@ -948,9 +957,17 @@ class SettingGetterImplKDE : public Prox
+@@ -949,9 +958,17 @@ class SettingGetterImplKDE : public Prox
// This has to be called on the UI thread (http://crbug.com/69057).
base::ThreadRestrictions::ScopedAllowIO allow_io;
DCHECK_LT(inotify_fd_, 0);
@@ -53,7 +53,7 @@
return false;
}
if (!base::SetNonBlocking(inotify_fd_)) {
-@@ -974,22 +991,40 @@ class SettingGetterImplKDE : public Prox
+@@ -975,22 +992,40 @@ class SettingGetterImplKDE : public Prox
close(inotify_fd_);
inotify_fd_ = -1;
}
@@ -94,7 +94,7 @@
notify_delegate_ = delegate;
if (!base::MessageLoopForIO::current()->WatchFileDescriptor(
inotify_fd_, true, base::MessageLoopForIO::WATCH_READ,
-@@ -1010,7 +1045,19 @@ class SettingGetterImplKDE : public Prox
+@@ -1011,7 +1046,19 @@ class SettingGetterImplKDE : public Prox
void OnFileCanReadWithoutBlocking(int fd) override {
DCHECK_EQ(fd, inotify_fd_);
DCHECK(file_task_runner_->BelongsToCurrentThread());
@@ -114,7 +114,7 @@
}
void OnFileCanWriteWithoutBlocking(int fd) override { NOTREACHED(); }
-@@ -1283,8 +1330,11 @@ class SettingGetterImplKDE : public Prox
+@@ -1284,8 +1331,11 @@ class SettingGetterImplKDE : public Prox
void OnChangeNotification() {
DCHECK_GE(inotify_fd_, 0);
DCHECK(file_task_runner_->BelongsToCurrentThread());
@@ -127,7 +127,7 @@
ssize_t r;
while ((r = read(inotify_fd_, event_buf, sizeof(event_buf))) > 0) {
// inotify returns variable-length structures, which is why we have
-@@ -1321,6 +1371,7 @@ class SettingGetterImplKDE : public Prox
+@@ -1322,6 +1372,7 @@ class SettingGetterImplKDE : public Prox
inotify_fd_ = -1;
}
}
@@ -135,7 +135,7 @@
if (kioslaverc_touched) {
// We don't use Reset() because the timer may not yet be running.
// (In that case Stop() is a no-op.)
-@@ -1336,6 +1387,7 @@ class SettingGetterImplKDE : public Prox
+@@ -1337,6 +1388,7 @@ class SettingGetterImplKDE : public Prox
std::vector<std::string> > strings_map_type;
int inotify_fd_;
diff --git a/www/chromium/files/patch-net_proxy_proxy__service.cc b/www/chromium/files/patch-net_proxy_proxy__service.cc
index c3fb1bd..759c79e 100644
--- a/www/chromium/files/patch-net_proxy_proxy__service.cc
+++ b/www/chromium/files/patch-net_proxy_proxy__service.cc
@@ -1,4 +1,4 @@
---- net/proxy/proxy_service.cc.orig 2017-01-26 00:49:16 UTC
+--- net/proxy/proxy_service.cc.orig 2017-04-19 19:06:36 UTC
+++ net/proxy/proxy_service.cc
@@ -49,7 +49,7 @@
#elif defined(OS_MACOSX)
diff --git a/www/chromium/files/patch-net_quic_platform_impl_quic__ip__address__impl.cc b/www/chromium/files/patch-net_quic_platform_impl_quic__ip__address__impl.cc
index cf4cdf0..9b12538 100644
--- a/www/chromium/files/patch-net_quic_platform_impl_quic__ip__address__impl.cc
+++ b/www/chromium/files/patch-net_quic_platform_impl_quic__ip__address__impl.cc
@@ -1,4 +1,4 @@
---- net/quic/platform/impl/quic_ip_address_impl.cc.orig 2017-03-09 20:04:35 UTC
+--- net/quic/platform/impl/quic_ip_address_impl.cc.orig 2017-04-19 19:06:36 UTC
+++ net/quic/platform/impl/quic_ip_address_impl.cc
@@ -12,6 +12,7 @@
#include <ws2bth.h>
diff --git a/www/chromium/files/patch-net_socket_socks5__client__socket.cc b/www/chromium/files/patch-net_socket_socks5__client__socket.cc
index 741dabf..10a9e52 100644
--- a/www/chromium/files/patch-net_socket_socks5__client__socket.cc
+++ b/www/chromium/files/patch-net_socket_socks5__client__socket.cc
@@ -1,4 +1,4 @@
---- net/socket/socks5_client_socket.cc.orig 2017-01-26 00:49:16 UTC
+--- net/socket/socks5_client_socket.cc.orig 2017-04-19 19:06:36 UTC
+++ net/socket/socks5_client_socket.cc
@@ -4,6 +4,10 @@
diff --git a/www/chromium/files/patch-net_socket_udp__socket__posix.cc b/www/chromium/files/patch-net_socket_udp__socket__posix.cc
index 0cb815c..2303db9 100644
--- a/www/chromium/files/patch-net_socket_udp__socket__posix.cc
+++ b/www/chromium/files/patch-net_socket_udp__socket__posix.cc
@@ -1,4 +1,4 @@
---- net/socket/udp_socket_posix.cc.orig 2017-03-09 20:04:35 UTC
+--- net/socket/udp_socket_posix.cc.orig 2017-04-19 19:06:36 UTC
+++ net/socket/udp_socket_posix.cc
@@ -59,7 +59,7 @@ const int kBindRetries = 10;
const int kPortStart = 1024;
@@ -9,7 +9,7 @@
// Returns IPv4 address in network order.
int GetIPv4AddressFromIndex(int socket, uint32_t index, uint32_t* address) {
-@@ -763,7 +763,7 @@ int UDPSocketPosix::SetMulticastOptions(
+@@ -765,7 +765,7 @@ int UDPSocketPosix::SetMulticastOptions(
if (multicast_interface_ != 0) {
switch (addr_family_) {
case AF_INET: {
@@ -18,7 +18,7 @@
ip_mreqn mreq;
mreq.imr_ifindex = multicast_interface_;
mreq.imr_address.s_addr = htonl(INADDR_ANY);
-@@ -838,7 +838,7 @@ int UDPSocketPosix::JoinGroup(const IPAd
+@@ -840,7 +840,7 @@ int UDPSocketPosix::JoinGroup(const IPAd
if (addr_family_ != AF_INET)
return ERR_ADDRESS_INVALID;
diff --git a/www/chromium/files/patch-net_tools_cert__verify__tool_verify__using__path__builder.cc b/www/chromium/files/patch-net_tools_cert__verify__tool_verify__using__path__builder.cc
index fb1f446..b2238dc 100644
--- a/www/chromium/files/patch-net_tools_cert__verify__tool_verify__using__path__builder.cc
+++ b/www/chromium/files/patch-net_tools_cert__verify__tool_verify__using__path__builder.cc
@@ -1,6 +1,6 @@
---- net/tools/cert_verify_tool/verify_using_path_builder.cc.orig 2017-03-09 20:04:35 UTC
+--- net/tools/cert_verify_tool/verify_using_path_builder.cc.orig 2017-04-19 19:06:36 UTC
+++ net/tools/cert_verify_tool/verify_using_path_builder.cc
-@@ -33,7 +33,7 @@
+@@ -34,7 +34,7 @@
#include "net/cert/internal/trust_store_nss.h"
#endif
@@ -9,7 +9,7 @@
#include "net/proxy/proxy_config.h"
#include "net/proxy/proxy_config_service_fixed.h"
#endif
-@@ -179,7 +179,7 @@ void SetUpOnNetworkThread(std::unique_pt
+@@ -185,7 +185,7 @@ void SetUpOnNetworkThread(std::unique_pt
// (similar to VERIFY_CERT_IO_ENABLED flag for CertVerifyProc).
net::URLRequestContextBuilder url_request_context_builder;
url_request_context_builder.set_user_agent(GetUserAgent());
diff --git a/www/chromium/files/patch-net_tools_get__server__time_get__server__time.cc b/www/chromium/files/patch-net_tools_get__server__time_get__server__time.cc
index 853d3d7..0547576 100644
--- a/www/chromium/files/patch-net_tools_get__server__time_get__server__time.cc
+++ b/www/chromium/files/patch-net_tools_get__server__time_get__server__time.cc
@@ -1,4 +1,4 @@
---- net/tools/get_server_time/get_server_time.cc.orig 2017-01-26 00:49:16 UTC
+--- net/tools/get_server_time/get_server_time.cc.orig 2017-04-19 19:06:36 UTC
+++ net/tools/get_server_time/get_server_time.cc
@@ -46,7 +46,7 @@
diff --git a/www/chromium/files/patch-net_url__request_url__request__context__builder.cc b/www/chromium/files/patch-net_url__request_url__request__context__builder.cc
index bd67df1..b4bdf07 100644
--- a/www/chromium/files/patch-net_url__request_url__request__context__builder.cc
+++ b/www/chromium/files/patch-net_url__request_url__request__context__builder.cc
@@ -1,4 +1,4 @@
---- net/url_request/url_request_context_builder.cc.orig 2017-01-26 00:49:16 UTC
+--- net/url_request/url_request_context_builder.cc.orig 2017-04-19 19:06:36 UTC
+++ net/url_request/url_request_context_builder.cc
@@ -327,7 +327,7 @@ std::unique_ptr<URLRequestContext> URLRe
if (!proxy_service_) {
diff --git a/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc b/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc
index cb8b4af..e2376db 100644
--- a/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc
+++ b/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc
@@ -1,4 +1,4 @@
---- pdf/pdfium/pdfium_engine.cc.orig 2017-03-09 20:04:35 UTC
+--- pdf/pdfium/pdfium_engine.cc.orig 2017-04-19 19:06:36 UTC
+++ pdf/pdfium/pdfium_engine.cc
@@ -129,7 +129,7 @@ std::vector<uint32_t> GetPageNumbersFrom
return page_numbers;
@@ -45,7 +45,7 @@
g_last_instance_id = client_->GetPluginInstance()->pp_instance();
#endif
-@@ -2936,7 +2936,7 @@ bool PDFiumEngine::ContinuePaint(int pro
+@@ -2950,7 +2950,7 @@ bool PDFiumEngine::ContinuePaint(int pro
DCHECK_LT(static_cast<size_t>(progressive_index), progressive_paints_.size());
DCHECK(image_data);
@@ -54,7 +54,7 @@
g_last_instance_id = client_->GetPluginInstance()->pp_instance();
#endif
-@@ -3394,7 +3394,7 @@ void PDFiumEngine::SetCurrentPage(int in
+@@ -3408,7 +3408,7 @@ void PDFiumEngine::SetCurrentPage(int in
FORM_DoPageAAction(old_page, form_, FPDFPAGE_AACTION_CLOSE);
}
most_visible_page_ = index;
diff --git a/www/chromium/files/patch-ppapi_proxy_file__io__resource.cc b/www/chromium/files/patch-ppapi_proxy_file__io__resource.cc
index e2c90bb..3ef9398 100644
--- a/www/chromium/files/patch-ppapi_proxy_file__io__resource.cc
+++ b/www/chromium/files/patch-ppapi_proxy_file__io__resource.cc
@@ -1,4 +1,4 @@
---- ppapi/proxy/file_io_resource.cc.orig 2017-01-26 00:49:16 UTC
+--- ppapi/proxy/file_io_resource.cc.orig 2017-04-19 19:06:36 UTC
+++ ppapi/proxy/file_io_resource.cc
@@ -285,17 +285,19 @@ int32_t FileIOResource::Write(int64_t of
diff --git a/www/chromium/files/patch-ppapi_shared__impl_private_net__address__private__impl.cc b/www/chromium/files/patch-ppapi_shared__impl_private_net__address__private__impl.cc
index fc5d068..ba76213 100644
--- a/www/chromium/files/patch-ppapi_shared__impl_private_net__address__private__impl.cc
+++ b/www/chromium/files/patch-ppapi_shared__impl_private_net__address__private__impl.cc
@@ -1,4 +1,4 @@
---- ppapi/shared_impl/private/net_address_private_impl.cc.orig 2017-01-26 00:49:16 UTC
+--- ppapi/shared_impl/private/net_address_private_impl.cc.orig 2017-04-19 19:06:36 UTC
+++ ppapi/shared_impl/private/net_address_private_impl.cc
@@ -26,9 +26,12 @@
#include <arpa/inet.h>
diff --git a/www/chromium/files/patch-ppapi_tests_extensions_BUILD.gn b/www/chromium/files/patch-ppapi_tests_extensions_BUILD.gn
index 8718839..78bd36d 100644
--- a/www/chromium/files/patch-ppapi_tests_extensions_BUILD.gn
+++ b/www/chromium/files/patch-ppapi_tests_extensions_BUILD.gn
@@ -1,4 +1,4 @@
---- ppapi/tests/extensions/BUILD.gn.orig 2017-01-26 00:49:16 UTC
+--- ppapi/tests/extensions/BUILD.gn.orig 2017-04-19 19:06:36 UTC
+++ ppapi/tests/extensions/BUILD.gn
@@ -20,7 +20,7 @@ group("extensions") {
":ppapi_tests_extensions_popup($newlib)",
diff --git a/www/chromium/files/patch-printing_BUILD.gn b/www/chromium/files/patch-printing_BUILD.gn
index 65262b2..a9c4ad7 100644
--- a/www/chromium/files/patch-printing_BUILD.gn
+++ b/www/chromium/files/patch-printing_BUILD.gn
@@ -1,6 +1,6 @@
---- printing/BUILD.gn.orig 2017-03-09 20:04:35 UTC
+--- printing/BUILD.gn.orig 2017-04-19 19:06:36 UTC
+++ printing/BUILD.gn
-@@ -137,7 +137,7 @@ component("printing") {
+@@ -138,7 +138,7 @@ component("printing") {
if (use_cups) {
configs += [ ":cups" ]
@@ -9,7 +9,7 @@
# rebase_path does not accept an empty string
if (use_sysroot) {
cups_sysroot = rebase_path(sysroot)
-@@ -214,7 +214,7 @@ component("printing") {
+@@ -215,7 +215,7 @@ component("printing") {
"printing_context_no_system_dialog.cc",
"printing_context_no_system_dialog.h",
]
diff --git a/www/chromium/files/patch-printing_cups__config__helper.py b/www/chromium/files/patch-printing_cups__config__helper.py
index 1fc731b..8b2dbc9 100644
--- a/www/chromium/files/patch-printing_cups__config__helper.py
+++ b/www/chromium/files/patch-printing_cups__config__helper.py
@@ -1,4 +1,4 @@
---- printing/cups_config_helper.py.orig 2017-01-26 00:49:17 UTC
+--- printing/cups_config_helper.py.orig 2017-04-19 19:06:36 UTC
+++ printing/cups_config_helper.py
@@ -65,7 +65,7 @@ def main():
mode = sys.argv[1]
diff --git a/www/chromium/files/patch-remoting_host_BUILD.gn b/www/chromium/files/patch-remoting_host_BUILD.gn
index f0fa0c3..04652d6 100644
--- a/www/chromium/files/patch-remoting_host_BUILD.gn
+++ b/www/chromium/files/patch-remoting_host_BUILD.gn
@@ -1,6 +1,6 @@
---- remoting/host/BUILD.gn.orig 2017-03-09 20:04:35 UTC
+--- remoting/host/BUILD.gn.orig 2017-04-19 19:06:36 UTC
+++ remoting/host/BUILD.gn
-@@ -329,7 +329,7 @@ static_library("host") {
+@@ -326,7 +326,7 @@ static_library("host") {
deps += [ "//components/policy:generated" ]
}
@@ -9,7 +9,7 @@
libs += [ "pam" ]
}
-@@ -348,7 +348,7 @@ static_library("host") {
+@@ -345,7 +345,7 @@ static_library("host") {
"input_injector_x11.cc",
"local_input_monitor_x11.cc",
]
@@ -18,7 +18,7 @@
# These will already be filtered out on non-Linux.
sources -= [
"linux/unicode_to_keysym.cc",
-@@ -538,7 +538,7 @@ source_set("unit_tests") {
+@@ -531,7 +531,7 @@ source_set("unit_tests") {
"touch_injector_win_unittest.cc",
]
@@ -27,7 +27,7 @@
sources -= [ "linux/unicode_to_keysym_unittest.cc" ]
}
if (use_ozone || is_chromeos) {
-@@ -750,7 +750,7 @@ if (enable_me2me_host) {
+@@ -747,7 +747,7 @@ if (enable_me2me_host) {
if (is_desktop_linux) {
deps += [ "//build/config/linux/gtk" ]
}
@@ -36,7 +36,7 @@
libs = [ "pam" ]
}
-@@ -820,7 +820,7 @@ if (enable_me2me_host) {
+@@ -817,7 +817,7 @@ if (enable_me2me_host) {
}
}
}
diff --git a/www/chromium/files/patch-sandbox_features.gni b/www/chromium/files/patch-sandbox_features.gni
index 6d98e07..37cebdf 100644
--- a/www/chromium/files/patch-sandbox_features.gni
+++ b/www/chromium/files/patch-sandbox_features.gni
@@ -1,4 +1,4 @@
---- sandbox/features.gni.orig 2017-03-09 20:04:36 UTC
+--- sandbox/features.gni.orig 2017-04-19 19:06:37 UTC
+++ sandbox/features.gni
@@ -11,6 +11,6 @@ import("//build/config/nacl/config.gni")
use_seccomp_bpf =
diff --git a/www/chromium/files/patch-sdch_BUILD.gn b/www/chromium/files/patch-sdch_BUILD.gn
index 5ac4b47..330821b 100644
--- a/www/chromium/files/patch-sdch_BUILD.gn
+++ b/www/chromium/files/patch-sdch_BUILD.gn
@@ -1,4 +1,4 @@
---- sdch/BUILD.gn.orig 2017-01-26 00:49:17 UTC
+--- sdch/BUILD.gn.orig 2017-04-19 19:06:37 UTC
+++ sdch/BUILD.gn
@@ -11,7 +11,7 @@ config("sdch_config") {
# from a config and can't be on the target directly.
diff --git a/www/chromium/files/patch-services_catalog_public_cpp_manifest__parsing__util.cc b/www/chromium/files/patch-services_catalog_public_cpp_manifest__parsing__util.cc
new file mode 100644
index 0000000..3603b47
--- /dev/null
+++ b/www/chromium/files/patch-services_catalog_public_cpp_manifest__parsing__util.cc
@@ -0,0 +1,21 @@
+--- services/catalog/public/cpp/manifest_parsing_util.cc.orig 2017-04-19 19:06:37 UTC
++++ services/catalog/public/cpp/manifest_parsing_util.cc
+@@ -15,7 +15,8 @@ bool IsValidPlatformName(const std::stri
+ return name == Store::kRequiredFilesKey_PlatformValue_Windows ||
+ name == Store::kRequiredFilesKey_PlatformValue_Linux ||
+ name == Store::kRequiredFilesKey_PlatformValue_MacOSX ||
+- name == Store::kRequiredFilesKey_PlatformValue_Android;
++ name == Store::kRequiredFilesKey_PlatformValue_Android ||
++ name == Store::kRequiredFilesKey_PlatformValue_FreeBSD;
+ }
+
+ bool IsCurrentPlatform(const std::string& name) {
+@@ -27,6 +28,8 @@ bool IsCurrentPlatform(const std::string
+ return name == Store::kRequiredFilesKey_PlatformValue_MacOSX;
+ #elif defined(OS_ANDROID)
+ return name == Store::kRequiredFilesKey_PlatformValue_Android;
++#elif defined(OS_BSD)
++ return name == Store::kRequiredFilesKey_PlatformValue_FreeBSD;
+ #else
+ #error This architecture is not supported.
+ #endif
diff --git a/www/chromium/files/patch-services_catalog_store.cc b/www/chromium/files/patch-services_catalog_store.cc
new file mode 100644
index 0000000..04f61b3
--- /dev/null
+++ b/www/chromium/files/patch-services_catalog_store.cc
@@ -0,0 +1,9 @@
+--- services/catalog/store.cc.orig 2017-04-19 19:06:37 UTC
++++ services/catalog/store.cc
+@@ -32,4 +32,6 @@ const char Store::kRequiredFilesKey_Plat
+ const char Store::kRequiredFilesKey_PlatformValue_MacOSX[] = "macosx";
+ // static
+ const char Store::kRequiredFilesKey_PlatformValue_Android[] = "android";
++// static
++const char Store::kRequiredFilesKey_PlatformValue_FreeBSD[] = "freebsd";
+ } // namespace catalog
diff --git a/www/chromium/files/patch-services_catalog_store.h b/www/chromium/files/patch-services_catalog_store.h
new file mode 100644
index 0000000..4743990
--- /dev/null
+++ b/www/chromium/files/patch-services_catalog_store.h
@@ -0,0 +1,10 @@
+--- services/catalog/store.h.orig 2017-04-19 19:06:37 UTC
++++ services/catalog/store.h
+@@ -33,6 +33,7 @@ class Store {
+ static const char kRequiredFilesKey_PlatformValue_Linux[];
+ static const char kRequiredFilesKey_PlatformValue_MacOSX[];
+ static const char kRequiredFilesKey_PlatformValue_Android[];
++ static const char kRequiredFilesKey_PlatformValue_FreeBSD[];
+ };
+
+ } // namespace catalog
diff --git a/www/chromium/files/patch-device_time__zone__monitor_time__zone__monitor.cc b/www/chromium/files/patch-services_device_time__zone__monitor_time__zone__monitor.cc
index e96f189..916132d 100644
--- a/www/chromium/files/patch-device_time__zone__monitor_time__zone__monitor.cc
+++ b/www/chromium/files/patch-services_device_time__zone__monitor_time__zone__monitor.cc
@@ -1,5 +1,5 @@
---- device/time_zone_monitor/time_zone_monitor.cc.orig 2017-01-26 00:49:14 UTC
-+++ device/time_zone_monitor/time_zone_monitor.cc
+--- services/device/time_zone_monitor/time_zone_monitor.cc.orig 2017-04-19 19:06:37 UTC
++++ services/device/time_zone_monitor/time_zone_monitor.cc
@@ -31,7 +31,7 @@ void TimeZoneMonitor::NotifyClients() {
std::unique_ptr<icu::TimeZone> new_zone(icu::TimeZone::createDefault());
#else
diff --git a/www/chromium/files/patch-device_time__zone__monitor_time__zone__monitor__linux.cc b/www/chromium/files/patch-services_device_time__zone__monitor_time__zone__monitor__linux.cc
index 56a67dc..f6e620f 100644
--- a/www/chromium/files/patch-device_time__zone__monitor_time__zone__monitor__linux.cc
+++ b/www/chromium/files/patch-services_device_time__zone__monitor_time__zone__monitor__linux.cc
@@ -1,16 +1,16 @@
---- device/time_zone_monitor/time_zone_monitor_linux.cc.orig 2017-01-26 00:49:14 UTC
-+++ device/time_zone_monitor/time_zone_monitor_linux.cc
+--- services/device/time_zone_monitor/time_zone_monitor_linux.cc.orig 2017-04-19 19:06:37 UTC
++++ services/device/time_zone_monitor/time_zone_monitor_linux.cc
@@ -59,6 +59,9 @@ class TimeZoneMonitorLinuxImpl
main_task_runner_(base::ThreadTaskRunnerHandle::Get()),
file_task_runner_(file_task_runner),
owner_(owner) {
-+ }
++ }
+
-+ void StartWatching() {
++ void StartWatching() {
DCHECK(main_task_runner_->RunsTasksOnCurrentThread());
file_task_runner_->PostTask(
FROM_HERE,
-@@ -152,6 +155,9 @@ TimeZoneMonitorLinux::TimeZoneMonitorLin
+@@ -150,6 +153,9 @@ TimeZoneMonitorLinux::TimeZoneMonitorLin
// changed.
if (!getenv("TZ")) {
impl_ = new TimeZoneMonitorLinuxImpl(this, file_task_runner);
diff --git a/www/chromium/files/patch-services_service__manager_public_cpp_standalone__service_BUILD.gn b/www/chromium/files/patch-services_service__manager_public_cpp_standalone__service_BUILD.gn
index 8b93175..fbfb888 100644
--- a/www/chromium/files/patch-services_service__manager_public_cpp_standalone__service_BUILD.gn
+++ b/www/chromium/files/patch-services_service__manager_public_cpp_standalone__service_BUILD.gn
@@ -1,4 +1,4 @@
---- services/service_manager/public/cpp/standalone_service/BUILD.gn.orig 2017-03-09 20:04:36 UTC
+--- services/service_manager/public/cpp/standalone_service/BUILD.gn.orig 2017-04-19 19:06:37 UTC
+++ services/service_manager/public/cpp/standalone_service/BUILD.gn
@@ -23,7 +23,7 @@ source_set("standalone_service") {
"//services/service_manager/public/interfaces",
diff --git a/www/chromium/files/patch-services_service__manager_public_cpp_standalone__service_standalone__service.cc b/www/chromium/files/patch-services_service__manager_public_cpp_standalone__service_standalone__service.cc
index f67f58a..19d66e0 100644
--- a/www/chromium/files/patch-services_service__manager_public_cpp_standalone__service_standalone__service.cc
+++ b/www/chromium/files/patch-services_service__manager_public_cpp_standalone__service_standalone__service.cc
@@ -1,4 +1,4 @@
---- services/service_manager/public/cpp/standalone_service/standalone_service.cc.orig 2017-03-09 20:04:36 UTC
+--- services/service_manager/public/cpp/standalone_service/standalone_service.cc.orig 2017-04-19 19:06:37 UTC
+++ services/service_manager/public/cpp/standalone_service/standalone_service.cc
@@ -70,6 +70,8 @@ void RunStandaloneService(const Standalo
*base::CommandLine::ForCurrentProcess();
diff --git a/www/chromium/files/patch-services_service__manager_runner_host_BUILD.gn b/www/chromium/files/patch-services_service__manager_runner_host_BUILD.gn
index 003707d..7048a84 100644
--- a/www/chromium/files/patch-services_service__manager_runner_host_BUILD.gn
+++ b/www/chromium/files/patch-services_service__manager_runner_host_BUILD.gn
@@ -1,4 +1,4 @@
---- services/service_manager/runner/host/BUILD.gn.orig 2017-03-09 20:04:36 UTC
+--- services/service_manager/runner/host/BUILD.gn.orig 2017-04-19 19:06:37 UTC
+++ services/service_manager/runner/host/BUILD.gn
@@ -28,7 +28,7 @@ source_set("lib") {
"//mojo/public/cpp/system",
diff --git a/www/chromium/files/patch-services_service__manager_standalone_context.cc b/www/chromium/files/patch-services_service__manager_standalone_context.cc
index 975ef5e..1c778e3 100644
--- a/www/chromium/files/patch-services_service__manager_standalone_context.cc
+++ b/www/chromium/files/patch-services_service__manager_standalone_context.cc
@@ -1,6 +1,6 @@
---- services/service_manager/standalone/context.cc.orig 2017-03-09 20:04:36 UTC
+--- services/service_manager/standalone/context.cc.orig 2017-04-19 19:06:37 UTC
+++ services/service_manager/standalone/context.cc
-@@ -218,7 +218,7 @@ void Context::Init(std::unique_ptr<InitP
+@@ -133,7 +133,7 @@ Context::Context(
tracing::mojom::StartupPerformanceDataCollectorPtr collector;
BindInterface(service_manager(), source_identity, tracing_identity,
&collector);
diff --git a/www/chromium/files/patch-services_ui_BUILD.gn b/www/chromium/files/patch-services_ui_BUILD.gn
index 067d382..144b26e 100644
--- a/www/chromium/files/patch-services_ui_BUILD.gn
+++ b/www/chromium/files/patch-services_ui_BUILD.gn
@@ -1,6 +1,6 @@
---- services/ui/BUILD.gn.orig 2017-03-09 20:04:36 UTC
+--- services/ui/BUILD.gn.orig 2017-04-19 19:06:37 UTC
+++ services/ui/BUILD.gn
-@@ -13,7 +13,6 @@ group("all") {
+@@ -12,7 +12,6 @@ group("all") {
testonly = true
deps = [
":ui",
@@ -8,20 +8,11 @@
"//services/ui/test_wm",
]
}
-@@ -36,7 +35,6 @@ service("ui") {
- data_deps = [
- ":copy_gl_libraries",
- ":manifest",
+@@ -32,7 +31,6 @@ service("ui") {
+ ":resources_100",
+ ":resources_200",
+ ":resources_strings",
- "//services/ui/ime/test_ime_driver",
]
+ }
- resources = [
-@@ -67,7 +65,7 @@ copy("copy_gl_libraries") {
- "$root_shlib_dir/libGLESv2.dll",
- "$root_shlib_dir/osmesa.dll",
- ]
-- } else if (is_android || is_linux) {
-+ } else if (is_android || is_linux || is_bsd) {
- sources = [
- "$root_shlib_dir/libosmesa.so",
- ]
diff --git a/www/chromium/files/patch-services_ui_gpu_gpu__main.cc b/www/chromium/files/patch-services_ui_gpu_gpu__main.cc
index f8e0c74..7a3bda5 100644
--- a/www/chromium/files/patch-services_ui_gpu_gpu__main.cc
+++ b/www/chromium/files/patch-services_ui_gpu_gpu__main.cc
@@ -1,9 +1,9 @@
---- services/ui/gpu/gpu_main.cc.orig 2017-03-09 20:04:36 UTC
+--- services/ui/gpu/gpu_main.cc.orig 2017-04-19 19:06:37 UTC
+++ services/ui/gpu/gpu_main.cc
-@@ -52,7 +52,7 @@ GpuMain::GpuMain(mojom::GpuMainRequest r
- thread_options.message_pump_factory = base::Bind(&CreateMessagePumpX11);
- #elif defined(USE_OZONE)
- thread_options.message_loop_type = base::MessageLoop::TYPE_UI;
+@@ -59,7 +59,7 @@ GpuMain::GpuMain(mojom::GpuMainRequest r
+ // runtime.
+ thread_options.message_loop_type =
+ ui::OzonePlatform::EnsureInstance()->GetMessageLoopTypeForGpu();
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
thread_options.message_loop_type = base::MessageLoop::TYPE_DEFAULT;
diff --git a/www/chromium/files/patch-services_ui_ime_BUILD.gn b/www/chromium/files/patch-services_ui_ime_BUILD.gn
index 2622664..6eb5342 100644
--- a/www/chromium/files/patch-services_ui_ime_BUILD.gn
+++ b/www/chromium/files/patch-services_ui_ime_BUILD.gn
@@ -1,7 +1,7 @@
---- services/ui/ime/BUILD.gn.orig 2017-01-26 00:49:17 UTC
+--- services/ui/ime/BUILD.gn.orig 2017-04-19 19:06:37 UTC
+++ services/ui/ime/BUILD.gn
-@@ -50,7 +50,6 @@ test("mus_ime_unittests") {
- ":test_manifest",
+@@ -51,7 +51,6 @@ service_test("mus_ime_unittests") {
+ data_deps = [
":lib",
"//services/ui",
- "//services/ui/ime/test_ime_driver",
diff --git a/www/chromium/files/patch-skia_BUILD.gn b/www/chromium/files/patch-skia_BUILD.gn
index d2b4ff4..ff9f856 100644
--- a/www/chromium/files/patch-skia_BUILD.gn
+++ b/www/chromium/files/patch-skia_BUILD.gn
@@ -1,6 +1,6 @@
---- skia/BUILD.gn.orig 2017-03-09 20:04:36 UTC
+--- skia/BUILD.gn.orig 2017-04-19 19:06:37 UTC
+++ skia/BUILD.gn
-@@ -124,7 +124,7 @@ config("skia_library_config") {
+@@ -127,7 +127,7 @@ config("skia_library_config") {
}
# Settings for text blitting, chosen to approximate the system browser.
@@ -9,25 +9,25 @@
defines += [
"SK_GAMMA_EXPONENT=1.2",
"SK_GAMMA_CONTRAST=0.2",
-@@ -340,7 +340,7 @@ component("skia") {
- sources -= [ "//third_party/skia/src/ports/SkFontHost_mac.cpp" ]
+@@ -326,7 +326,7 @@ component("skia") {
+ set_sources_assignment_filter(sources_assignment_filter)
}
-- if (!is_linux) {
-+ if (!is_linux && !is_bsd) {
- sources -= [
+- if (is_linux) {
++ if (is_linux || is_bsd) {
+ sources += [
"//third_party/skia/src/ports/SkFontConfigInterface.cpp",
"//third_party/skia/src/ports/SkFontConfigInterface_direct.cpp",
-@@ -349,7 +349,7 @@ component("skia") {
+@@ -335,7 +335,7 @@ component("skia") {
]
}
-- if (!is_linux && !is_android) {
-+ if (!is_linux && !is_bsd && !is_android) {
- sources -= [
+- if (is_linux || is_android) {
++ if (is_linux || is_bsd || is_android) {
+ sources += [
"//third_party/skia/src/ports/SkFontHost_FreeType.cpp",
"//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp",
-@@ -387,7 +387,7 @@ component("skia") {
+@@ -374,7 +374,7 @@ component("skia") {
"//base/third_party/dynamic_annotations",
]
diff --git a/www/chromium/files/patch-skia_ext_SkMemory__new__handler.cpp b/www/chromium/files/patch-skia_ext_SkMemory__new__handler.cpp
index a8643be..558b3fc 100644
--- a/www/chromium/files/patch-skia_ext_SkMemory__new__handler.cpp
+++ b/www/chromium/files/patch-skia_ext_SkMemory__new__handler.cpp
@@ -1,4 +1,4 @@
---- skia/ext/SkMemory_new_handler.cpp.orig 2017-01-26 00:49:17 UTC
+--- skia/ext/SkMemory_new_handler.cpp.orig 2017-04-19 19:06:37 UTC
+++ skia/ext/SkMemory_new_handler.cpp
@@ -68,7 +68,7 @@ static void* sk_malloc_nothrow(size_t si
// TODO(b.kelemen): we should always use UncheckedMalloc but currently it
diff --git a/www/chromium/files/patch-storage_browser_quota_quota__settings.cc b/www/chromium/files/patch-storage_browser_quota_quota__settings.cc
new file mode 100644
index 0000000..2a67f21
--- /dev/null
+++ b/www/chromium/files/patch-storage_browser_quota_quota__settings.cc
@@ -0,0 +1,11 @@
+--- storage/browser/quota/quota_settings.cc.orig 2017-04-19 19:06:37 UTC
++++ storage/browser/quota/quota_settings.cc
+@@ -53,7 +53,7 @@ base::Optional<storage::QuotaSettings> C
+ 1000 * kMBytes;
+ #elif defined(OS_CHROMEOS)
+ 1000 * kMBytes;
+-#elif defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX)
++#elif defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_BSD)
+ 10000 * kMBytes;
+ #else
+ #error "Port: Need to define an OS accomodation value for unknown OS."
diff --git a/www/chromium/files/patch-testing_gtest_src_gtest.cc b/www/chromium/files/patch-testing_gtest_src_gtest.cc
index 87f05b7..e1797a9 100644
--- a/www/chromium/files/patch-testing_gtest_src_gtest.cc
+++ b/www/chromium/files/patch-testing_gtest_src_gtest.cc
@@ -1,4 +1,4 @@
---- testing/gtest/src/gtest.cc.orig 2017-01-26 00:50:07 UTC
+--- testing/gtest/src/gtest.cc.orig 2017-04-19 19:07:41 UTC
+++ testing/gtest/src/gtest.cc
@@ -122,6 +122,10 @@
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_bindings_core_v8_V8ScriptRunner.cpp b/www/chromium/files/patch-third__party_WebKit_Source_bindings_core_v8_V8ScriptRunner.cpp
index a003c86..699c83f 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_bindings_core_v8_V8ScriptRunner.cpp
+++ b/www/chromium/files/patch-third__party_WebKit_Source_bindings_core_v8_V8ScriptRunner.cpp
@@ -1,6 +1,6 @@
---- third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp.orig 2017-01-26 00:49:27 UTC
+--- third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp.orig 2017-04-19 19:06:49 UTC
+++ third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp
-@@ -46,6 +46,8 @@
+@@ -48,6 +48,8 @@
#if OS(WIN)
#include <malloc.h>
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_core_layout_BUILD.gn b/www/chromium/files/patch-third__party_WebKit_Source_core_layout_BUILD.gn
index db60690..0e5be2c 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_core_layout_BUILD.gn
+++ b/www/chromium/files/patch-third__party_WebKit_Source_core_layout_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/WebKit/Source/core/layout/BUILD.gn.orig 2017-03-09 20:04:45 UTC
+--- third_party/WebKit/Source/core/layout/BUILD.gn.orig 2017-04-19 19:06:49 UTC
+++ third_party/WebKit/Source/core/layout/BUILD.gn
-@@ -368,7 +368,7 @@ blink_core_sources("layout") {
+@@ -381,7 +381,7 @@ blink_core_sources("layout") {
sources += [ "LayoutThemeFontProviderDefault.cpp" ]
}
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontCache.cpp b/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontCache.cpp
index dae6dab..df1d188 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontCache.cpp
+++ b/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontCache.cpp
@@ -1,6 +1,6 @@
---- third_party/WebKit/Source/platform/fonts/FontCache.cpp.orig 2017-01-26 00:49:28 UTC
+--- third_party/WebKit/Source/platform/fonts/FontCache.cpp.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/platform/fonts/FontCache.cpp
-@@ -62,9 +62,9 @@ using namespace WTF;
+@@ -63,9 +63,9 @@ using namespace WTF;
namespace blink {
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontCache.h b/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontCache.h
index 6ec4e5c..e047af0 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontCache.h
+++ b/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontCache.h
@@ -1,6 +1,6 @@
---- third_party/WebKit/Source/platform/fonts/FontCache.h.orig 2017-02-02 02:03:10 UTC
+--- third_party/WebKit/Source/platform/fonts/FontCache.h.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/platform/fonts/FontCache.h
-@@ -122,7 +122,7 @@ class PLATFORM_EXPORT FontCache {
+@@ -144,7 +144,7 @@ class PLATFORM_EXPORT FontCache {
#else
static const AtomicString& legacySystemFontFamily();
#endif
@@ -9,7 +9,7 @@
static void setSystemFontFamily(const AtomicString&);
#endif
-@@ -232,7 +232,7 @@ class PLATFORM_EXPORT FontCache {
+@@ -258,7 +258,7 @@ class PLATFORM_EXPORT FontCache {
const FontFaceCreationParams&,
CString& name);
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontPlatformData.cpp b/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontPlatformData.cpp
index 170e6ce..0fbcbf6 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontPlatformData.cpp
+++ b/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontPlatformData.cpp
@@ -1,4 +1,4 @@
---- third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp.orig 2017-03-09 20:04:45 UTC
+--- third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp
@@ -99,7 +99,7 @@ FontPlatformData::FontPlatformData(const
m_syntheticBold(source.m_syntheticBold),
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontPlatformData.h b/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontPlatformData.h
index 417e9df..150dd3c 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontPlatformData.h
+++ b/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontPlatformData.h
@@ -1,4 +1,4 @@
---- third_party/WebKit/Source/platform/fonts/FontPlatformData.h.orig 2017-03-09 20:04:45 UTC
+--- third_party/WebKit/Source/platform/fonts/FontPlatformData.h.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/platform/fonts/FontPlatformData.h
@@ -47,9 +47,9 @@
#include "wtf/text/CString.h"
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_SimpleFontData.cpp b/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_SimpleFontData.cpp
index e3d8c56..75a0926 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_SimpleFontData.cpp
+++ b/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_SimpleFontData.cpp
@@ -1,4 +1,4 @@
---- third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp.orig 2017-01-26 00:49:28 UTC
+--- third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp
@@ -50,7 +50,7 @@ namespace blink {
const float smallCapsFontSizeMultiplier = 0.7f;
@@ -9,7 +9,7 @@
// This is the largest VDMX table which we'll try to load and parse.
static const size_t maxVDMXTableSize = 1024 * 1024; // 1 MB
#endif
-@@ -105,7 +105,7 @@ void SimpleFontData::platformInit(bool s
+@@ -109,7 +109,7 @@ void SimpleFontData::platformInit(bool s
int vdmxAscent = 0, vdmxDescent = 0;
bool isVDMXValid = false;
@@ -18,12 +18,12 @@
// Manually digging up VDMX metrics is only applicable when bytecode hinting
// using FreeType. With DirectWrite or CoreText, no bytecode hinting is ever
// done. This code should be pushed into FreeType (hinted font metrics).
-@@ -149,7 +149,7 @@ void SimpleFontData::platformInit(bool s
- ascent = SkScalarRoundToScalar(-metrics.fAscent);
- descent = SkScalarRoundToScalar(metrics.fDescent);
- }
+@@ -157,7 +157,7 @@ void SimpleFontData::platformInit(bool s
+ visual_overflow_inflation_for_ascent_ = 1;
+ if (descent < metrics.fDescent) {
+ visual_overflow_inflation_for_descent_ = 1;
-#if OS(LINUX) || OS(ANDROID)
+#if OS(LINUX) || OS(ANDROID) || OS(BSD)
- // When subpixel positioning is enabled, if the descent is rounded down, the
- // descent part of the glyph may be truncated when displayed in a 'overflow:
- // hidden' container. To avoid that, borrow 1 unit from the ascent when
+ // When subpixel positioning is enabled, if the descent is rounded down,
+ // the descent part of the glyph may be truncated when displayed in a
+ // 'overflow: hidden' container. To avoid that, borrow 1 unit from the
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_skia_FontCacheSkia.cpp b/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_skia_FontCacheSkia.cpp
index 8825937..092388b 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_skia_FontCacheSkia.cpp
+++ b/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_skia_FontCacheSkia.cpp
@@ -1,4 +1,4 @@
---- third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp.orig 2017-03-09 20:04:45 UTC
+--- third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp
@@ -68,7 +68,7 @@ AtomicString toAtomicString(const SkStri
return AtomicString::fromUTF8(str.c_str(), str.size());
@@ -9,7 +9,7 @@
// Android special locale for retrieving the color emoji font
// based on the proposed changes in UTR #51 for introducing
// an Emoji script code:
-@@ -235,7 +235,7 @@ sk_sp<SkTypeface> FontCache::createTypef
+@@ -240,7 +240,7 @@ sk_sp<SkTypeface> FontCache::createTypef
}
#endif
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_platform_heap_GCInfo.cpp b/www/chromium/files/patch-third__party_WebKit_Source_platform_heap_GCInfo.cpp
index 12b29d2..7167424 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_platform_heap_GCInfo.cpp
+++ b/www/chromium/files/patch-third__party_WebKit_Source_platform_heap_GCInfo.cpp
@@ -1,4 +1,4 @@
---- third_party/WebKit/Source/platform/heap/GCInfo.cpp.orig 2017-01-26 00:49:28 UTC
+--- third_party/WebKit/Source/platform/heap/GCInfo.cpp.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/platform/heap/GCInfo.cpp
@@ -7,6 +7,8 @@
#include "platform/heap/Handle.h"
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_platform_heap_StackFrameDepth.cpp b/www/chromium/files/patch-third__party_WebKit_Source_platform_heap_StackFrameDepth.cpp
index e13608c..cbc8f06 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_platform_heap_StackFrameDepth.cpp
+++ b/www/chromium/files/patch-third__party_WebKit_Source_platform_heap_StackFrameDepth.cpp
@@ -1,4 +1,4 @@
---- third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp.orig 2017-03-09 20:04:45 UTC
+--- third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp
@@ -7,6 +7,8 @@
#include "public/platform/Platform.h"
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_web_PopupMenuImpl.cpp b/www/chromium/files/patch-third__party_WebKit_Source_web_PopupMenuImpl.cpp
index d659e3f..00de0c3 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_web_PopupMenuImpl.cpp
+++ b/www/chromium/files/patch-third__party_WebKit_Source_web_PopupMenuImpl.cpp
@@ -1,6 +1,6 @@
---- third_party/WebKit/Source/web/PopupMenuImpl.cpp.orig 2017-03-09 20:04:46 UTC
+--- third_party/WebKit/Source/web/PopupMenuImpl.cpp.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/web/PopupMenuImpl.cpp
-@@ -155,7 +155,7 @@ class PopupMenuImpl::ItemIterationContex
+@@ -154,7 +154,7 @@ class PopupMenuImpl::ItemIterationContex
m_isInGroup(false),
m_buffer(buffer) {
DCHECK(m_buffer);
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_wtf_Assertions.cpp b/www/chromium/files/patch-third__party_WebKit_Source_wtf_Assertions.cpp
index 77294b3..f586514 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_wtf_Assertions.cpp
+++ b/www/chromium/files/patch-third__party_WebKit_Source_wtf_Assertions.cpp
@@ -1,4 +1,4 @@
---- third_party/WebKit/Source/wtf/Assertions.cpp.orig 2017-01-26 00:49:28 UTC
+--- third_party/WebKit/Source/wtf/Assertions.cpp.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/wtf/Assertions.cpp
@@ -60,7 +60,7 @@
#include <windows.h>
@@ -9,16 +9,7 @@
#include <cxxabi.h>
#include <dlfcn.h>
#include <execinfo.h>
-@@ -164,7 +164,7 @@ void WTFReportAssertionFailure(const cha
- }
-
- void WTFGetBacktrace(void** stack, int* size) {
--#if OS(MACOSX) || (OS(LINUX) && !defined(__UCLIBC__))
-+#if OS(MACOSX) || ((OS(LINUX) || OS(BSD)) && !defined(__UCLIBC__))
- *size = backtrace(stack, *size);
- #elif OS(WIN)
- // The CaptureStackBackTrace function is available in XP, but it is not
-@@ -215,7 +215,7 @@ class FrameToNameScope {
+@@ -142,7 +142,7 @@ class FrameToNameScope {
};
FrameToNameScope::FrameToNameScope(void* addr) : m_name(0), m_cxaDemangled(0) {
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_wtf_Atomics.h b/www/chromium/files/patch-third__party_WebKit_Source_wtf_Atomics.h
index c2c0ac4..0d6be91 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_wtf_Atomics.h
+++ b/www/chromium/files/patch-third__party_WebKit_Source_wtf_Atomics.h
@@ -1,4 +1,4 @@
---- third_party/WebKit/Source/wtf/Atomics.h.orig 2017-01-26 00:49:28 UTC
+--- third_party/WebKit/Source/wtf/Atomics.h.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/wtf/Atomics.h
@@ -176,7 +176,7 @@ ALWAYS_INLINE void atomicSetOneToZero(in
#if defined(THREAD_SANITIZER)
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_wtf_BUILD.gn b/www/chromium/files/patch-third__party_WebKit_Source_wtf_BUILD.gn
index 3313be6..3f1cf64 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_wtf_BUILD.gn
+++ b/www/chromium/files/patch-third__party_WebKit_Source_wtf_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/WebKit/Source/wtf/BUILD.gn.orig 2017-03-09 20:04:46 UTC
+--- third_party/WebKit/Source/wtf/BUILD.gn.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/wtf/BUILD.gn
@@ -280,6 +280,10 @@ component("wtf") {
libs = [ "dl" ]
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_wtf_ByteSwap.h b/www/chromium/files/patch-third__party_WebKit_Source_wtf_ByteSwap.h
index 7095ec7..11317a1 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_wtf_ByteSwap.h
+++ b/www/chromium/files/patch-third__party_WebKit_Source_wtf_ByteSwap.h
@@ -1,4 +1,4 @@
---- third_party/WebKit/Source/wtf/ByteSwap.h.orig 2017-01-26 00:49:28 UTC
+--- third_party/WebKit/Source/wtf/ByteSwap.h.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/wtf/ByteSwap.h
@@ -60,15 +60,21 @@ ALWAYS_INLINE uint16_t bswap16(uint16_t
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_wtf_ContainerAnnotations.h b/www/chromium/files/patch-third__party_WebKit_Source_wtf_ContainerAnnotations.h
index 8214b9ec..63eecc9 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_wtf_ContainerAnnotations.h
+++ b/www/chromium/files/patch-third__party_WebKit_Source_wtf_ContainerAnnotations.h
@@ -1,4 +1,4 @@
---- third_party/WebKit/Source/wtf/ContainerAnnotations.h.orig 2017-01-26 00:49:28 UTC
+--- third_party/WebKit/Source/wtf/ContainerAnnotations.h.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/wtf/ContainerAnnotations.h
@@ -10,7 +10,7 @@
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_wtf_StackUtil.cpp b/www/chromium/files/patch-third__party_WebKit_Source_wtf_StackUtil.cpp
index af56209..232a8e9 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_wtf_StackUtil.cpp
+++ b/www/chromium/files/patch-third__party_WebKit_Source_wtf_StackUtil.cpp
@@ -1,4 +1,4 @@
---- third_party/WebKit/Source/wtf/StackUtil.cpp.orig 2017-03-09 20:04:46 UTC
+--- third_party/WebKit/Source/wtf/StackUtil.cpp.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/wtf/StackUtil.cpp
@@ -8,6 +8,10 @@
#include "wtf/Threading.h"
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_wtf_ThreadingPthreads.cpp b/www/chromium/files/patch-third__party_WebKit_Source_wtf_ThreadingPthreads.cpp
index b56cc76..f31ce45 100644
--- a/www/chromium/files/patch-third__party_WebKit_Source_wtf_ThreadingPthreads.cpp
+++ b/www/chromium/files/patch-third__party_WebKit_Source_wtf_ThreadingPthreads.cpp
@@ -1,4 +1,4 @@
---- third_party/WebKit/Source/wtf/ThreadingPthreads.cpp.orig 2017-03-09 20:04:46 UTC
+--- third_party/WebKit/Source/wtf/ThreadingPthreads.cpp.orig 2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/wtf/ThreadingPthreads.cpp
@@ -49,11 +49,15 @@
#include <objc/objc-auto.h>
diff --git a/www/chromium/files/patch-third__party_angle_BUILD.gn b/www/chromium/files/patch-third__party_angle_BUILD.gn
index a7f1e05..461ff42a 100644
--- a/www/chromium/files/patch-third__party_angle_BUILD.gn
+++ b/www/chromium/files/patch-third__party_angle_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/angle/BUILD.gn.orig 2017-03-09 20:05:21 UTC
+--- third_party/angle/BUILD.gn.orig 2017-04-19 19:07:43 UTC
+++ third_party/angle/BUILD.gn
@@ -16,6 +16,12 @@ if (ozone_platform_gbm) {
}
@@ -13,7 +13,7 @@
angle_git_is_present = exec_script("src/commit_id.py",
[
"check",
-@@ -343,11 +349,7 @@ static_library("libANGLE") {
+@@ -418,11 +424,7 @@ static_library("libANGLE") {
if (use_x11) {
sources += rebase_path(gles_gypi.libangle_gl_glx_sources, ".", "src")
deps += [ "src/third_party/libXNVCtrl:libXNVCtrl" ]
@@ -26,7 +26,7 @@
}
if (is_mac) {
sources += rebase_path(gles_gypi.libangle_gl_cgl_sources, ".", "src")
-@@ -545,7 +547,7 @@ util_gypi = exec_script("//build/gypi_to
+@@ -627,7 +629,7 @@ util_gypi = exec_script("//build/gypi_to
config("angle_util_config") {
include_dirs = [ "util" ]
@@ -35,7 +35,7 @@
libs = [ "X11" ]
}
}
-@@ -572,7 +574,7 @@ foreach(is_shared_library,
+@@ -654,7 +656,7 @@ foreach(is_shared_library,
sources += rebase_path(util_gypi.util_win32_sources, ".", "util")
}
diff --git a/www/chromium/files/patch-third__party_angle_gni_angle.gni b/www/chromium/files/patch-third__party_angle_gni_angle.gni
index b7b40f3..bcb9b5b 100644
--- a/www/chromium/files/patch-third__party_angle_gni_angle.gni
+++ b/www/chromium/files/patch-third__party_angle_gni_angle.gni
@@ -1,4 +1,4 @@
---- third_party/angle/gni/angle.gni.orig 2017-01-26 00:50:09 UTC
+--- third_party/angle/gni/angle.gni.orig 2017-04-19 19:07:43 UTC
+++ third_party/angle/gni/angle.gni
@@ -20,6 +20,8 @@ if (is_win) {
import("//build/config/win/visual_studio_version.gni")
diff --git a/www/chromium/files/patch-third__party_angle_src_tests_BUILD.gn b/www/chromium/files/patch-third__party_angle_src_tests_BUILD.gn
index dbfa81c..62bde77 100644
--- a/www/chromium/files/patch-third__party_angle_src_tests_BUILD.gn
+++ b/www/chromium/files/patch-third__party_angle_src_tests_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/angle/src/tests/BUILD.gn.orig 2017-03-09 20:05:21 UTC
+--- third_party/angle/src/tests/BUILD.gn.orig 2017-04-19 19:07:43 UTC
+++ third_party/angle/src/tests/BUILD.gn
@@ -41,7 +41,7 @@ test("angle_unittests") {
]
@@ -54,7 +54,7 @@
libs = [ "pci" ]
}
}
-@@ -393,7 +393,7 @@ if (build_angle_deqp_tests) {
+@@ -396,7 +396,7 @@ if (build_angle_deqp_tests) {
"../../../deqp/src/data/",
]
diff --git a/www/chromium/files/patch-third__party_boringssl_BUILD.gn b/www/chromium/files/patch-third__party_boringssl_BUILD.gn
index d1ea1b1..549874c 100644
--- a/www/chromium/files/patch-third__party_boringssl_BUILD.gn
+++ b/www/chromium/files/patch-third__party_boringssl_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/boringssl/BUILD.gn.orig 2017-01-26 00:49:29 UTC
+--- third_party/boringssl/BUILD.gn.orig 2017-04-19 19:06:51 UTC
+++ third_party/boringssl/BUILD.gn
@@ -83,7 +83,7 @@ if (is_win && !is_msan) {
} else if (current_cpu == "x64") {
diff --git a/www/chromium/files/patch-third__party_boringssl_src_crypto_ex__data.c b/www/chromium/files/patch-third__party_boringssl_src_crypto_ex__data.c
index 81f4d7f..6717560 100644
--- a/www/chromium/files/patch-third__party_boringssl_src_crypto_ex__data.c
+++ b/www/chromium/files/patch-third__party_boringssl_src_crypto_ex__data.c
@@ -1,4 +1,4 @@
---- third_party/boringssl/src/crypto/ex_data.c.orig 2017-01-26 00:50:08 UTC
+--- third_party/boringssl/src/crypto/ex_data.c.orig 2017-04-19 19:07:42 UTC
+++ third_party/boringssl/src/crypto/ex_data.c
@@ -188,7 +188,9 @@ int CRYPTO_set_ex_data(CRYPTO_EX_DATA *a
}
diff --git a/www/chromium/files/patch-third__party_cacheinvalidation_src_google_cacheinvalidation_include_types.h b/www/chromium/files/patch-third__party_cacheinvalidation_src_google_cacheinvalidation_include_types.h
index 7b23a2e..27d8a71 100644
--- a/www/chromium/files/patch-third__party_cacheinvalidation_src_google_cacheinvalidation_include_types.h
+++ b/www/chromium/files/patch-third__party_cacheinvalidation_src_google_cacheinvalidation_include_types.h
@@ -1,4 +1,4 @@
---- third_party/cacheinvalidation/src/google/cacheinvalidation/include/types.h.orig 2017-01-26 00:49:29 UTC
+--- third_party/cacheinvalidation/src/google/cacheinvalidation/include/types.h.orig 2017-04-19 19:06:51 UTC
+++ third_party/cacheinvalidation/src/google/cacheinvalidation/include/types.h
@@ -334,6 +334,8 @@ class Status {
*/
diff --git a/www/chromium/files/patch-third__party_expat_BUILD.gn b/www/chromium/files/patch-third__party_expat_BUILD.gn
index aba21d5..7dd3c39 100644
--- a/www/chromium/files/patch-third__party_expat_BUILD.gn
+++ b/www/chromium/files/patch-third__party_expat_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/expat/BUILD.gn.orig 2017-01-26 00:49:29 UTC
+--- third_party/expat/BUILD.gn.orig 2017-04-19 19:06:51 UTC
+++ third_party/expat/BUILD.gn
@@ -9,7 +9,7 @@ import("//testing/libfuzzer/fuzzer_test.
# let's not pull it in twice.
diff --git a/www/chromium/files/patch-third__party_ffmpeg_BUILD.gn b/www/chromium/files/patch-third__party_ffmpeg_BUILD.gn
index c8cfac9..ab83a96 100644
--- a/www/chromium/files/patch-third__party_ffmpeg_BUILD.gn
+++ b/www/chromium/files/patch-third__party_ffmpeg_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/ffmpeg/BUILD.gn.orig 2017-01-26 00:50:10 UTC
+--- third_party/ffmpeg/BUILD.gn.orig 2017-04-19 19:07:44 UTC
+++ third_party/ffmpeg/BUILD.gn
@@ -6,8 +6,13 @@ import("ffmpeg_options.gni")
import("ffmpeg_generated.gni")
diff --git a/www/chromium/files/patch-third__party_ffmpeg_ffmpeg__generated.gni b/www/chromium/files/patch-third__party_ffmpeg_ffmpeg__generated.gni
index bf1c817..18de5c7 100644
--- a/www/chromium/files/patch-third__party_ffmpeg_ffmpeg__generated.gni
+++ b/www/chromium/files/patch-third__party_ffmpeg_ffmpeg__generated.gni
@@ -1,4 +1,4 @@
---- third_party/ffmpeg/ffmpeg_generated.gni.orig 2017-03-09 20:05:22 UTC
+--- third_party/ffmpeg/ffmpeg_generated.gni.orig 2017-04-19 19:07:44 UTC
+++ third_party/ffmpeg/ffmpeg_generated.gni
@@ -12,7 +12,7 @@ ffmpeg_c_sources = []
ffmpeg_gas_sources = []
@@ -203,9 +203,9 @@
-if ((is_android && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS")) {
+if ((is_android && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || ((is_linux || is_bsd) && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || ((is_linux || is_bsd) && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS")) {
ffmpeg_c_sources += [
- "libavcodec/aarch64/imdct15_init.c",
"libavcodec/aarch64/mpegaudiodsp_init.c",
-@@ -530,7 +530,7 @@ if ((is_android && current_cpu == "arm64
+ ]
+@@ -528,7 +528,7 @@ if ((is_android && current_cpu == "arm64
]
}
@@ -214,7 +214,7 @@
ffmpeg_c_sources += [
"libavcodec/aarch64/h264chroma_init_aarch64.c",
"libavcodec/aarch64/h264dsp_init_aarch64.c",
-@@ -544,7 +544,7 @@ if ((is_linux && current_cpu == "arm64"
+@@ -542,7 +542,7 @@ if ((is_linux && current_cpu == "arm64"
]
}
@@ -223,7 +223,7 @@
ffmpeg_c_sources += [
"libavcodec/arm/hpeldsp_init_neon.c",
"libavcodec/arm/vp8dsp_init_neon.c",
-@@ -557,14 +557,14 @@ if (is_linux && current_cpu == "arm" &&
+@@ -555,14 +555,14 @@ if (is_linux && current_cpu == "arm" &&
]
}
@@ -240,7 +240,7 @@
ffmpeg_c_sources += [
"libavcodec/arm/blockdsp_init_arm.c",
"libavcodec/arm/idctdsp_init_arm.c",
-@@ -588,13 +588,13 @@ if ((is_linux && current_cpu == "arm" &&
+@@ -586,13 +586,13 @@ if ((is_linux && current_cpu == "arm" &&
]
}
@@ -256,7 +256,7 @@
ffmpeg_gas_sources += [
"libavcodec/arm/h264cmc_neon.S",
"libavcodec/arm/h264dsp_neon.S",
-@@ -609,7 +609,7 @@ if (is_win && current_cpu == "x64") {
+@@ -607,7 +607,7 @@ if (is_win && current_cpu == "x64") {
]
}
@@ -265,7 +265,7 @@
ffmpeg_c_sources += [
"libavcodec/x86/blockdsp_init.c",
"libavcodec/x86/fdct.c",
-@@ -636,7 +636,7 @@ if ((is_linux && current_cpu == "x64" &&
+@@ -634,7 +634,7 @@ if ((is_linux && current_cpu == "x64" &&
]
}
@@ -274,7 +274,7 @@
ffmpeg_c_sources += [
"libavcodec/mips/blockdsp_init_mips.c",
"libavcodec/mips/h263dsp_init_mips.c",
-@@ -649,7 +649,7 @@ if (is_linux && current_cpu == "mipsel"
+@@ -647,7 +647,7 @@ if (is_linux && current_cpu == "mipsel"
]
}
diff --git a/www/chromium/files/patch-third__party_ffmpeg_libavutil_mem.c b/www/chromium/files/patch-third__party_ffmpeg_libavutil_mem.c
index 3342c62..76c8c9f 100644
--- a/www/chromium/files/patch-third__party_ffmpeg_libavutil_mem.c
+++ b/www/chromium/files/patch-third__party_ffmpeg_libavutil_mem.c
@@ -1,4 +1,4 @@
---- third_party/ffmpeg/libavutil/mem.c.orig 2017-01-26 00:50:11 UTC
+--- third_party/ffmpeg/libavutil/mem.c.orig 2017-04-19 19:07:44 UTC
+++ third_party/ffmpeg/libavutil/mem.c
@@ -32,9 +32,6 @@
#include <stdint.h>
diff --git a/www/chromium/files/patch-third__party_fontconfig_BUILD.gn b/www/chromium/files/patch-third__party_fontconfig_BUILD.gn
index c127a8b..d6be090 100644
--- a/www/chromium/files/patch-third__party_fontconfig_BUILD.gn
+++ b/www/chromium/files/patch-third__party_fontconfig_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/fontconfig/BUILD.gn.orig 2017-01-26 00:49:29 UTC
+--- third_party/fontconfig/BUILD.gn.orig 2017-04-19 19:06:51 UTC
+++ third_party/fontconfig/BUILD.gn
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
diff --git a/www/chromium/files/patch-third__party_freetype2_BUILD.gn b/www/chromium/files/patch-third__party_freetype2_BUILD.gn
deleted file mode 100644
index 2211291..0000000
--- a/www/chromium/files/patch-third__party_freetype2_BUILD.gn
+++ /dev/null
@@ -1,11 +0,0 @@
---- third_party/freetype2/BUILD.gn.orig 2017-01-26 00:49:29 UTC
-+++ third_party/freetype2/BUILD.gn
-@@ -2,7 +2,7 @@
- # Use of this source code is governed by a BSD-style license that can be
- # found in the LICENSE file.
-
--assert(is_linux, "This file should only be depended on from Linux.")
-+assert(is_linux || is_bsd, "This file should only be depended on from Linux.")
-
- config("freetype2_config") {
- include_dirs = [
diff --git a/www/chromium/files/patch-third__party_glslang_BUILD.gn b/www/chromium/files/patch-third__party_glslang_BUILD.gn
index 73ab4cd..dda33f0 100644
--- a/www/chromium/files/patch-third__party_glslang_BUILD.gn
+++ b/www/chromium/files/patch-third__party_glslang_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/glslang/BUILD.gn.orig 2017-01-26 00:49:29 UTC
+--- third_party/glslang/BUILD.gn.orig 2017-04-19 19:06:51 UTC
+++ third_party/glslang/BUILD.gn
@@ -8,7 +8,7 @@ config("glslang_config") {
include_dirs = [ "src" ]
diff --git a/www/chromium/files/patch-third__party_harfbuzz-ng_BUILD.gn b/www/chromium/files/patch-third__party_harfbuzz-ng_BUILD.gn
index 0fec9e1..717835d 100644
--- a/www/chromium/files/patch-third__party_harfbuzz-ng_BUILD.gn
+++ b/www/chromium/files/patch-third__party_harfbuzz-ng_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/harfbuzz-ng/BUILD.gn.orig 2017-03-09 20:04:47 UTC
+--- third_party/harfbuzz-ng/BUILD.gn.orig 2017-04-19 19:06:52 UTC
+++ third_party/harfbuzz-ng/BUILD.gn
@@ -50,7 +50,7 @@ if (use_system_harfbuzz) {
@@ -9,7 +9,7 @@
current_cpu != "arm" && current_cpu != "mipsel" && !is_component_build) {
# These symbols are referenced from libpangoft2, which will be
# dynamically linked later.
-@@ -194,7 +194,7 @@ if (use_system_harfbuzz) {
+@@ -200,7 +200,7 @@ if (use_system_harfbuzz) {
# in the tree, all symbols pango needs must be included, or
# pango uses mixed versions of harfbuzz and leads to crash.
# See crbug.com/462689.
diff --git a/www/chromium/files/patch-third__party_leveldatabase_env__chromium.cc b/www/chromium/files/patch-third__party_leveldatabase_env__chromium.cc
index 9e8e609..843dc3f 100644
--- a/www/chromium/files/patch-third__party_leveldatabase_env__chromium.cc
+++ b/www/chromium/files/patch-third__party_leveldatabase_env__chromium.cc
@@ -1,4 +1,4 @@
---- third_party/leveldatabase/env_chromium.cc.orig 2017-01-26 00:49:30 UTC
+--- third_party/leveldatabase/env_chromium.cc.orig 2017-04-19 19:06:52 UTC
+++ third_party/leveldatabase/env_chromium.cc
@@ -25,7 +25,11 @@
#include "base/trace_event/trace_event.h"
diff --git a/www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_memory_singleton.h b/www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_memory_singleton.h
index 9599ac0..4663573 100644
--- a/www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_memory_singleton.h
+++ b/www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_memory_singleton.h
@@ -1,4 +1,4 @@
---- third_party/libphonenumber/dist/cpp/src/phonenumbers/base/memory/singleton.h.orig 2017-01-26 00:50:13 UTC
+--- third_party/libphonenumber/dist/cpp/src/phonenumbers/base/memory/singleton.h.orig 2017-04-19 19:07:47 UTC
+++ third_party/libphonenumber/dist/cpp/src/phonenumbers/base/memory/singleton.h
@@ -56,7 +56,7 @@ template <class T> boost::once_flag Sing
#include "phonenumbers/base/logging.h"
diff --git a/www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_synchronization_lock.h b/www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_synchronization_lock.h
index d42440a..b4af762 100644
--- a/www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_synchronization_lock.h
+++ b/www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_synchronization_lock.h
@@ -1,4 +1,4 @@
---- third_party/libphonenumber/dist/cpp/src/phonenumbers/base/synchronization/lock.h.orig 2017-01-26 00:50:13 UTC
+--- third_party/libphonenumber/dist/cpp/src/phonenumbers/base/synchronization/lock.h.orig 2017-04-19 19:07:47 UTC
+++ third_party/libphonenumber/dist/cpp/src/phonenumbers/base/synchronization/lock.h
@@ -37,7 +37,7 @@ typedef boost::mutex::scoped_lock AutoLo
// Dummy lock implementation on non-POSIX platforms. If you are running on a
diff --git a/www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_thread__checker.h b/www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_thread__checker.h
index 0b203e0..3789aea 100644
--- a/www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_thread__checker.h
+++ b/www/chromium/files/patch-third__party_libphonenumber_dist_cpp_src_phonenumbers_base_thread__checker.h
@@ -1,4 +1,4 @@
---- third_party/libphonenumber/dist/cpp/src/phonenumbers/base/thread_checker.h.orig 2017-01-26 00:50:13 UTC
+--- third_party/libphonenumber/dist/cpp/src/phonenumbers/base/thread_checker.h.orig 2017-04-19 19:07:47 UTC
+++ third_party/libphonenumber/dist/cpp/src/phonenumbers/base/thread_checker.h
@@ -23,6 +23,7 @@
// user of the library know that it can't be used in a thread-safe manner when
diff --git a/www/chromium/files/patch-third__party_libusb_BUILD.gn b/www/chromium/files/patch-third__party_libusb_BUILD.gn
index 8b301bc..05273d1 100644
--- a/www/chromium/files/patch-third__party_libusb_BUILD.gn
+++ b/www/chromium/files/patch-third__party_libusb_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/libusb/BUILD.gn.orig 2017-01-26 00:49:30 UTC
+--- third_party/libusb/BUILD.gn.orig 2017-04-19 19:06:52 UTC
+++ third_party/libusb/BUILD.gn
@@ -6,8 +6,25 @@ assert(!is_android && !is_ios)
diff --git a/www/chromium/files/patch-third__party_libxml_BUILD.gn b/www/chromium/files/patch-third__party_libxml_BUILD.gn
index 37bb5e9..ca1f087 100644
--- a/www/chromium/files/patch-third__party_libxml_BUILD.gn
+++ b/www/chromium/files/patch-third__party_libxml_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/libxml/BUILD.gn.orig 2017-01-26 00:49:30 UTC
+--- third_party/libxml/BUILD.gn.orig 2017-04-19 19:06:52 UTC
+++ third_party/libxml/BUILD.gn
@@ -4,7 +4,7 @@
diff --git a/www/chromium/files/patch-third__party_libxslt_BUILD.gn b/www/chromium/files/patch-third__party_libxslt_BUILD.gn
index e59ff9e..d4e07a9 100644
--- a/www/chromium/files/patch-third__party_libxslt_BUILD.gn
+++ b/www/chromium/files/patch-third__party_libxslt_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/libxslt/BUILD.gn.orig 2017-01-26 00:49:30 UTC
+--- third_party/libxslt/BUILD.gn.orig 2017-04-19 19:06:52 UTC
+++ third_party/libxslt/BUILD.gn
@@ -82,7 +82,7 @@ static_library("libxslt") {
public_configs = [ ":libxslt_config" ]
diff --git a/www/chromium/files/patch-third__party_libyuv_include_libyuv_row.h b/www/chromium/files/patch-third__party_libyuv_include_libyuv_row.h
index 544151d..0882864 100644
--- a/www/chromium/files/patch-third__party_libyuv_include_libyuv_row.h
+++ b/www/chromium/files/patch-third__party_libyuv_include_libyuv_row.h
@@ -1,4 +1,4 @@
---- third_party/libyuv/include/libyuv/row.h.orig 2017-01-26 00:50:13 UTC
+--- third_party/libyuv/include/libyuv/row.h.orig 2017-04-19 19:07:47 UTC
+++ third_party/libyuv/include/libyuv/row.h
@@ -161,10 +161,14 @@ extern "C" {
#define HAS_ARGBSHADEROW_SSE2
diff --git a/www/chromium/files/patch-third__party_mesa_BUILD.gn b/www/chromium/files/patch-third__party_mesa_BUILD.gn
index 9ba3b1f..7fd1838 100644
--- a/www/chromium/files/patch-third__party_mesa_BUILD.gn
+++ b/www/chromium/files/patch-third__party_mesa_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/mesa/BUILD.gn.orig 2017-01-26 00:49:30 UTC
+--- third_party/mesa/BUILD.gn.orig 2017-04-19 19:06:52 UTC
+++ third_party/mesa/BUILD.gn
@@ -90,6 +90,10 @@ config("mesa_internal_config") {
defines += [ "_GNU_SOURCE" ]
diff --git a/www/chromium/files/patch-third__party_minigbm_BUILD.gn b/www/chromium/files/patch-third__party_minigbm_BUILD.gn
index 3a54124..68ed5d2 100644
--- a/www/chromium/files/patch-third__party_minigbm_BUILD.gn
+++ b/www/chromium/files/patch-third__party_minigbm_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/minigbm/BUILD.gn.orig 2017-01-26 00:49:30 UTC
+--- third_party/minigbm/BUILD.gn.orig 2017-04-19 19:06:52 UTC
+++ third_party/minigbm/BUILD.gn
@@ -4,7 +4,7 @@
diff --git a/www/chromium/files/patch-third__party_node_node.py b/www/chromium/files/patch-third__party_node_node.py
new file mode 100644
index 0000000..0cae32d
--- /dev/null
+++ b/www/chromium/files/patch-third__party_node_node.py
@@ -0,0 +1,10 @@
+--- third_party/node/node.py.orig 2017-04-19 19:06:52 UTC
++++ third_party/node/node.py
+@@ -12,6 +12,7 @@ import sys
+ def GetBinaryPath():
+ return os_path.join(os_path.dirname(__file__), *{
+ 'Darwin': ('mac', 'node-darwin-x64', 'bin', 'node'),
++ 'FreeBSD': ('linux', 'node-linux-x64', 'bin', 'node'),
+ 'Linux': ('linux', 'node-linux-x64', 'bin', 'node'),
+ 'Windows': ('win', 'node.exe'),
+ }[platform.system()])
diff --git a/www/chromium/files/patch-third__party_opus_BUILD.gn b/www/chromium/files/patch-third__party_opus_BUILD.gn
index 041d62b..f15683a 100644
--- a/www/chromium/files/patch-third__party_opus_BUILD.gn
+++ b/www/chromium/files/patch-third__party_opus_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/opus/BUILD.gn.orig 2017-01-26 00:49:30 UTC
+--- third_party/opus/BUILD.gn.orig 2017-04-19 19:06:52 UTC
+++ third_party/opus/BUILD.gn
@@ -14,7 +14,7 @@ use_opus_arm_optimization = current_cpu
# If OPUS Run Time CPU Detections (RTCD) shall be used.
diff --git a/www/chromium/files/patch-third__party_ots_include_opentype-sanitiser.h b/www/chromium/files/patch-third__party_ots_include_opentype-sanitiser.h
index e4da339..295e94d 100644
--- a/www/chromium/files/patch-third__party_ots_include_opentype-sanitiser.h
+++ b/www/chromium/files/patch-third__party_ots_include_opentype-sanitiser.h
@@ -1,4 +1,4 @@
---- third_party/ots/include/opentype-sanitiser.h.orig 2017-01-26 00:49:30 UTC
+--- third_party/ots/include/opentype-sanitiser.h.orig 2017-04-19 19:06:52 UTC
+++ third_party/ots/include/opentype-sanitiser.h
@@ -22,6 +22,7 @@ typedef unsigned __int64 uint64_t;
#else
diff --git a/www/chromium/files/patch-third__party_pdfium_BUILD.gn b/www/chromium/files/patch-third__party_pdfium_BUILD.gn
index 6231a8e..b14844a 100644
--- a/www/chromium/files/patch-third__party_pdfium_BUILD.gn
+++ b/www/chromium/files/patch-third__party_pdfium_BUILD.gn
@@ -1,7 +1,7 @@
---- third_party/pdfium/BUILD.gn.orig 2017-03-09 20:05:26 UTC
+--- third_party/pdfium/BUILD.gn.orig 2017-04-19 19:07:49 UTC
+++ third_party/pdfium/BUILD.gn
-@@ -45,7 +45,7 @@ config("pdfium_core_config") {
- ldflags = []
+@@ -65,7 +65,7 @@ config("pdfium_core_config") {
+ cflags = []
configs = [ ":pdfium_common_config" ]
defines = [ "V8_DEPRECATION_WARNINGS" ]
- if (is_linux) {
diff --git a/www/chromium/files/patch-third__party_pdfium_core_fxcrt_fx__system.h b/www/chromium/files/patch-third__party_pdfium_core_fxcrt_fx__system.h
index 8aaabf0..582042a 100644
--- a/www/chromium/files/patch-third__party_pdfium_core_fxcrt_fx__system.h
+++ b/www/chromium/files/patch-third__party_pdfium_core_fxcrt_fx__system.h
@@ -1,4 +1,4 @@
---- third_party/pdfium/core/fxcrt/fx_system.h.orig 2017-01-26 00:50:14 UTC
+--- third_party/pdfium/core/fxcrt/fx_system.h.orig 2017-04-19 19:07:50 UTC
+++ third_party/pdfium/core/fxcrt/fx_system.h
@@ -40,7 +40,7 @@
#elif defined(_WIN64)
diff --git a/www/chromium/files/patch-third__party_pdfium_fpdfsdk_javascript_JS__Value.cpp b/www/chromium/files/patch-third__party_pdfium_fpdfsdk_javascript_JS__Value.cpp
index b1b7665..70a7add 100644
--- a/www/chromium/files/patch-third__party_pdfium_fpdfsdk_javascript_JS__Value.cpp
+++ b/www/chromium/files/patch-third__party_pdfium_fpdfsdk_javascript_JS__Value.cpp
@@ -1,4 +1,4 @@
---- third_party/pdfium/fpdfsdk/javascript/JS_Value.cpp.orig 2017-03-09 20:05:26 UTC
+--- third_party/pdfium/fpdfsdk/javascript/JS_Value.cpp.orig 2017-04-19 19:07:50 UTC
+++ third_party/pdfium/fpdfsdk/javascript/JS_Value.cpp
@@ -457,11 +457,12 @@ v8::Local<v8::Date> CJS_Date::ToV8Date(C
}
diff --git a/www/chromium/files/patch-third__party_pdfium_fpdfsdk_javascript_PublicMethods.cpp b/www/chromium/files/patch-third__party_pdfium_fpdfsdk_javascript_PublicMethods.cpp
index 696c9ff..495f687 100644
--- a/www/chromium/files/patch-third__party_pdfium_fpdfsdk_javascript_PublicMethods.cpp
+++ b/www/chromium/files/patch-third__party_pdfium_fpdfsdk_javascript_PublicMethods.cpp
@@ -1,4 +1,4 @@
---- third_party/pdfium/fpdfsdk/javascript/PublicMethods.cpp.orig 2017-01-26 00:50:15 UTC
+--- third_party/pdfium/fpdfsdk/javascript/PublicMethods.cpp.orig 2017-04-19 19:07:50 UTC
+++ third_party/pdfium/fpdfsdk/javascript/PublicMethods.cpp
@@ -68,6 +68,103 @@ const FX_WCHAR* const fullmonths[] = {L"
L"July", L"August", L"September",
diff --git a/www/chromium/files/patch-third__party_pdfium_skia_BUILD.gn b/www/chromium/files/patch-third__party_pdfium_skia_BUILD.gn
index addf901..1e14e84 100644
--- a/www/chromium/files/patch-third__party_pdfium_skia_BUILD.gn
+++ b/www/chromium/files/patch-third__party_pdfium_skia_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/pdfium/skia/BUILD.gn.orig 2017-01-26 00:50:15 UTC
+--- third_party/pdfium/skia/BUILD.gn.orig 2017-04-19 19:07:50 UTC
+++ third_party/pdfium/skia/BUILD.gn
@@ -102,7 +102,7 @@ config("skia_library_config") {
}
diff --git a/www/chromium/files/patch-third__party_pdfium_third__party_base_logging.h b/www/chromium/files/patch-third__party_pdfium_third__party_base_logging.h
index a5c5546..1dbb5dc 100644
--- a/www/chromium/files/patch-third__party_pdfium_third__party_base_logging.h
+++ b/www/chromium/files/patch-third__party_pdfium_third__party_base_logging.h
@@ -1,4 +1,4 @@
---- third_party/pdfium/third_party/base/logging.h.orig 2017-01-26 00:50:15 UTC
+--- third_party/pdfium/third_party/base/logging.h.orig 2017-04-19 19:07:50 UTC
+++ third_party/pdfium/third_party/base/logging.h
@@ -10,7 +10,7 @@
diff --git a/www/chromium/files/patch-third__party_skia_src_gpu_GrAutoLocaleSetter.h b/www/chromium/files/patch-third__party_skia_src_gpu_GrAutoLocaleSetter.h
index d4c983d..b450ecf 100644
--- a/www/chromium/files/patch-third__party_skia_src_gpu_GrAutoLocaleSetter.h
+++ b/www/chromium/files/patch-third__party_skia_src_gpu_GrAutoLocaleSetter.h
@@ -1,4 +1,4 @@
---- third_party/skia/src/gpu/GrAutoLocaleSetter.h.orig 2017-03-09 20:05:27 UTC
+--- third_party/skia/src/gpu/GrAutoLocaleSetter.h.orig 2017-04-19 19:07:51 UTC
+++ third_party/skia/src/gpu/GrAutoLocaleSetter.h
@@ -25,7 +25,7 @@
#define HAVE_XLOCALE 0
diff --git a/www/chromium/files/patch-third__party_sqlite_BUILD.gn b/www/chromium/files/patch-third__party_sqlite_BUILD.gn
index 95a4c12..ca83cf2 100644
--- a/www/chromium/files/patch-third__party_sqlite_BUILD.gn
+++ b/www/chromium/files/patch-third__party_sqlite_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/sqlite/BUILD.gn.orig 2017-03-09 20:04:47 UTC
+--- third_party/sqlite/BUILD.gn.orig 2017-04-19 19:06:52 UTC
+++ third_party/sqlite/BUILD.gn
@@ -22,7 +22,7 @@ if (!use_system_sqlite) {
# sqlite3Fts3InitTok).
diff --git a/www/chromium/files/patch-third__party_usrsctp_BUILD.gn b/www/chromium/files/patch-third__party_usrsctp_BUILD.gn
index b4ad317..813dff5 100644
--- a/www/chromium/files/patch-third__party_usrsctp_BUILD.gn
+++ b/www/chromium/files/patch-third__party_usrsctp_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/usrsctp/BUILD.gn.orig 2017-01-26 00:49:31 UTC
+--- third_party/usrsctp/BUILD.gn.orig 2017-04-19 19:06:53 UTC
+++ third_party/usrsctp/BUILD.gn
@@ -112,6 +112,12 @@ static_library("usrsctp") {
"__Userspace_os_Linux",
diff --git a/www/chromium/files/patch-third__party_webrtc_BUILD.gn b/www/chromium/files/patch-third__party_webrtc_BUILD.gn
index b79447d..f6ec0e7 100644
--- a/www/chromium/files/patch-third__party_webrtc_BUILD.gn
+++ b/www/chromium/files/patch-third__party_webrtc_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/webrtc/BUILD.gn.orig 2017-01-26 00:50:17 UTC
+--- third_party/webrtc/BUILD.gn.orig 2017-04-19 19:07:52 UTC
+++ third_party/webrtc/BUILD.gn
-@@ -60,6 +60,9 @@ config("common_inherited_config") {
+@@ -59,6 +59,9 @@ config("common_inherited_config") {
if (is_linux) {
defines += [ "WEBRTC_LINUX" ]
}
diff --git a/www/chromium/files/patch-third__party_webrtc_base_BUILD.gn b/www/chromium/files/patch-third__party_webrtc_base_BUILD.gn
index eec2387..3af4a95 100644
--- a/www/chromium/files/patch-third__party_webrtc_base_BUILD.gn
+++ b/www/chromium/files/patch-third__party_webrtc_base_BUILD.gn
@@ -1,6 +1,6 @@
---- third_party/webrtc/base/BUILD.gn.orig 2017-03-09 20:05:29 UTC
+--- third_party/webrtc/base/BUILD.gn.orig 2017-04-19 19:07:52 UTC
+++ third_party/webrtc/base/BUILD.gn
-@@ -604,7 +604,6 @@ rtc_static_library("rtc_base") {
+@@ -566,7 +566,6 @@ rtc_static_library("rtc_base") {
if (use_x11) {
libs += [
@@ -8,7 +8,7 @@
"rt",
"Xext",
"X11",
-@@ -615,7 +614,6 @@ rtc_static_library("rtc_base") {
+@@ -577,7 +576,6 @@ rtc_static_library("rtc_base") {
if (is_linux) {
libs += [
diff --git a/www/chromium/files/patch-third__party_webrtc_base_httpcommon.cc b/www/chromium/files/patch-third__party_webrtc_base_httpcommon.cc
index 8607744..3db8b5e 100644
--- a/www/chromium/files/patch-third__party_webrtc_base_httpcommon.cc
+++ b/www/chromium/files/patch-third__party_webrtc_base_httpcommon.cc
@@ -1,6 +1,6 @@
---- third_party/webrtc/base/httpcommon.cc.orig 2017-03-09 20:05:29 UTC
+--- third_party/webrtc/base/httpcommon.cc.orig 2017-04-19 19:07:52 UTC
+++ third_party/webrtc/base/httpcommon.cc
-@@ -385,7 +385,7 @@ bool HttpDateToSeconds(const std::string
+@@ -384,7 +384,7 @@ bool HttpDateToSeconds(const std::string
gmt = non_gmt + kTimeZoneOffsets[zindex] * 60 * 60;
}
// TODO: Android should support timezone, see b/2441195
diff --git a/www/chromium/files/patch-third__party_webrtc_base_ifaddrs__converter.h b/www/chromium/files/patch-third__party_webrtc_base_ifaddrs__converter.h
index 12f3b45..7328dd9 100644
--- a/www/chromium/files/patch-third__party_webrtc_base_ifaddrs__converter.h
+++ b/www/chromium/files/patch-third__party_webrtc_base_ifaddrs__converter.h
@@ -1,4 +1,4 @@
---- third_party/webrtc/base/ifaddrs_converter.h.orig 2017-01-26 00:50:17 UTC
+--- third_party/webrtc/base/ifaddrs_converter.h.orig 2017-04-19 19:07:52 UTC
+++ third_party/webrtc/base/ifaddrs_converter.h
@@ -14,6 +14,8 @@
#if defined(WEBRTC_ANDROID)
diff --git a/www/chromium/files/patch-third__party_webrtc_base_ipaddress.h b/www/chromium/files/patch-third__party_webrtc_base_ipaddress.h
index 73520d4..58a6c4b 100644
--- a/www/chromium/files/patch-third__party_webrtc_base_ipaddress.h
+++ b/www/chromium/files/patch-third__party_webrtc_base_ipaddress.h
@@ -1,4 +1,4 @@
---- third_party/webrtc/base/ipaddress.h.orig 2017-01-26 00:50:17 UTC
+--- third_party/webrtc/base/ipaddress.h.orig 2017-04-19 19:07:52 UTC
+++ third_party/webrtc/base/ipaddress.h
@@ -17,6 +17,10 @@
#include <arpa/inet.h>
diff --git a/www/chromium/files/patch-third__party_webrtc_base_network.cc b/www/chromium/files/patch-third__party_webrtc_base_network.cc
index 224bb19..d98bbc9 100644
--- a/www/chromium/files/patch-third__party_webrtc_base_network.cc
+++ b/www/chromium/files/patch-third__party_webrtc_base_network.cc
@@ -1,4 +1,4 @@
---- third_party/webrtc/base/network.cc.orig 2017-03-09 20:05:29 UTC
+--- third_party/webrtc/base/network.cc.orig 2017-04-19 19:07:52 UTC
+++ third_party/webrtc/base/network.cc
@@ -14,7 +14,7 @@
// linux/if.h can't be included at the same time as the posix sys/if.h, and
@@ -9,7 +9,7 @@
#include <linux/if.h>
#include <linux/route.h>
#elif !defined(__native_client__)
-@@ -657,7 +657,7 @@ bool BasicNetworkManager::CreateNetworks
+@@ -658,7 +658,7 @@ bool BasicNetworkManager::CreateNetworks
}
#endif // WEBRTC_WIN
@@ -17,8 +17,8 @@
+#if defined(WEBRTC_LINUX) && !defined(WEBRTC_BSD)
bool IsDefaultRoute(const std::string& network_name) {
FileStream fs;
- if (!fs.Open("/proc/net/route", "r", NULL)) {
-@@ -700,7 +700,7 @@ bool BasicNetworkManager::IsIgnoredNetwo
+ if (!fs.Open("/proc/net/route", "r", nullptr)) {
+@@ -701,7 +701,7 @@ bool BasicNetworkManager::IsIgnoredNetwo
strncmp(network.name().c_str(), "vboxnet", 7) == 0) {
return true;
}
diff --git a/www/chromium/files/patch-third__party_webrtc_base_network.h b/www/chromium/files/patch-third__party_webrtc_base_network.h
index 91fdc80..48246d7 100644
--- a/www/chromium/files/patch-third__party_webrtc_base_network.h
+++ b/www/chromium/files/patch-third__party_webrtc_base_network.h
@@ -1,4 +1,4 @@
---- third_party/webrtc/base/network.h.orig 2017-03-09 20:05:29 UTC
+--- third_party/webrtc/base/network.h.orig 2017-04-19 19:07:52 UTC
+++ third_party/webrtc/base/network.h
@@ -24,6 +24,10 @@
#include "webrtc/base/messagehandler.h"
diff --git a/www/chromium/files/patch-third__party_webrtc_base_physicalsocketserver.cc b/www/chromium/files/patch-third__party_webrtc_base_physicalsocketserver.cc
index 0ec3782..a0fd729 100644
--- a/www/chromium/files/patch-third__party_webrtc_base_physicalsocketserver.cc
+++ b/www/chromium/files/patch-third__party_webrtc_base_physicalsocketserver.cc
@@ -1,6 +1,6 @@
---- third_party/webrtc/base/physicalsocketserver.cc.orig 2017-03-09 20:05:29 UTC
+--- third_party/webrtc/base/physicalsocketserver.cc.orig 2017-04-19 19:07:52 UTC
+++ third_party/webrtc/base/physicalsocketserver.cc
-@@ -62,7 +62,11 @@ typedef void* SockOptArg;
+@@ -61,7 +61,11 @@ typedef void* SockOptArg;
int64_t GetSocketRecvTimestamp(int socket) {
struct timeval tv_ioctl;
@@ -12,7 +12,7 @@
if (ret != 0)
return -1;
int64_t timestamp =
-@@ -275,7 +279,7 @@ int PhysicalSocket::GetOption(Option opt
+@@ -302,7 +306,7 @@ int PhysicalSocket::GetOption(Option opt
socklen_t optlen = sizeof(*value);
int ret = ::getsockopt(s_, slevel, sopt, (SockOptArg)value, &optlen);
if (ret != -1 && opt == OPT_DONTFRAGMENT) {
@@ -21,7 +21,7 @@
*value = (*value != IP_PMTUDISC_DONT) ? 1 : 0;
#endif
}
-@@ -288,7 +292,7 @@ int PhysicalSocket::SetOption(Option opt
+@@ -315,7 +319,7 @@ int PhysicalSocket::SetOption(Option opt
if (TranslateOption(opt, &slevel, &sopt) == -1)
return -1;
if (opt == OPT_DONTFRAGMENT) {
@@ -30,7 +30,7 @@
value = (value) ? IP_PMTUDISC_DO : IP_PMTUDISC_DONT;
#endif
}
-@@ -570,10 +574,10 @@ int PhysicalSocket::TranslateOption(Opti
+@@ -597,10 +601,10 @@ int PhysicalSocket::TranslateOption(Opti
*slevel = IPPROTO_IP;
*sopt = IP_DONTFRAGMENT;
break;
diff --git a/www/chromium/files/patch-third__party_webrtc_base_platform__thread.cc b/www/chromium/files/patch-third__party_webrtc_base_platform__thread.cc
index 98c0d70..bd2394f 100644
--- a/www/chromium/files/patch-third__party_webrtc_base_platform__thread.cc
+++ b/www/chromium/files/patch-third__party_webrtc_base_platform__thread.cc
@@ -1,7 +1,7 @@
---- third_party/webrtc/base/platform_thread.cc.orig 2017-01-26 00:50:17 UTC
+--- third_party/webrtc/base/platform_thread.cc.orig 2017-04-19 19:07:52 UTC
+++ third_party/webrtc/base/platform_thread.cc
-@@ -12,11 +12,18 @@
-
+@@ -13,11 +13,18 @@
+ #include "webrtc/base/atomicops.h"
#include "webrtc/base/checks.h"
-#if defined(WEBRTC_LINUX)
@@ -20,7 +20,7 @@
namespace rtc {
PlatformThreadId CurrentThreadId() {
-@@ -26,6 +33,8 @@ PlatformThreadId CurrentThreadId() {
+@@ -27,6 +34,8 @@ PlatformThreadId CurrentThreadId() {
#elif defined(WEBRTC_POSIX)
#if defined(WEBRTC_MAC) || defined(WEBRTC_IOS)
ret = pthread_mach_thread_np(pthread_self());
@@ -29,7 +29,7 @@
#elif defined(WEBRTC_LINUX)
ret = syscall(__NR_gettid);
#elif defined(WEBRTC_ANDROID)
-@@ -69,7 +78,9 @@ void SetCurrentThreadName(const char* na
+@@ -70,7 +79,9 @@ void SetCurrentThreadName(const char* na
reinterpret_cast<ULONG_PTR*>(&threadname_info));
} __except (EXCEPTION_EXECUTE_HANDLER) {
}
diff --git a/www/chromium/files/patch-third__party_webrtc_base_stringutils.h b/www/chromium/files/patch-third__party_webrtc_base_stringutils.h
index 9b04e01..ee8623a 100644
--- a/www/chromium/files/patch-third__party_webrtc_base_stringutils.h
+++ b/www/chromium/files/patch-third__party_webrtc_base_stringutils.h
@@ -1,4 +1,4 @@
---- third_party/webrtc/base/stringutils.h.orig 2017-01-26 00:50:17 UTC
+--- third_party/webrtc/base/stringutils.h.orig 2017-04-19 19:07:52 UTC
+++ third_party/webrtc/base/stringutils.h
@@ -23,11 +23,11 @@
#endif // WEBRTC_WIN
diff --git a/www/chromium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn b/www/chromium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn
index f4ca350..a529490 100644
--- a/www/chromium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn
+++ b/www/chromium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/webrtc/modules/audio_device/BUILD.gn.orig 2017-03-09 20:05:29 UTC
+--- third_party/webrtc/modules/audio_device/BUILD.gn.orig 2017-04-19 19:07:52 UTC
+++ third_party/webrtc/modules/audio_device/BUILD.gn
@@ -82,7 +82,7 @@ rtc_static_library("audio_device") {
]
diff --git a/www/chromium/files/patch-third__party_webrtc_modules_rtp__rtcp_source_forward__error__correction.cc b/www/chromium/files/patch-third__party_webrtc_modules_rtp__rtcp_source_forward__error__correction.cc
index ff28494..5bcf679 100644
--- a/www/chromium/files/patch-third__party_webrtc_modules_rtp__rtcp_source_forward__error__correction.cc
+++ b/www/chromium/files/patch-third__party_webrtc_modules_rtp__rtcp_source_forward__error__correction.cc
@@ -1,4 +1,4 @@
---- third_party/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc.orig 2017-01-26 00:50:17 UTC
+--- third_party/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc.orig 2017-04-19 19:07:53 UTC
+++ third_party/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc
@@ -13,6 +13,7 @@
#include <string.h>
diff --git a/www/chromium/files/patch-third__party_webrtc_modules_video__coding_BUILD.gn b/www/chromium/files/patch-third__party_webrtc_modules_video__coding_BUILD.gn
index df32038..7875817 100644
--- a/www/chromium/files/patch-third__party_webrtc_modules_video__coding_BUILD.gn
+++ b/www/chromium/files/patch-third__party_webrtc_modules_video__coding_BUILD.gn
@@ -1,19 +1,20 @@
---- third_party/webrtc/modules/video_coding/BUILD.gn.orig 2017-03-09 20:05:29 UTC
+--- third_party/webrtc/modules/video_coding/BUILD.gn.orig 2017-04-19 19:07:53 UTC
+++ third_party/webrtc/modules/video_coding/BUILD.gn
-@@ -164,11 +164,7 @@ rtc_static_library("webrtc_h264") {
+@@ -154,12 +154,7 @@ rtc_static_library("webrtc_h264") {
}
defines = []
- deps = [
- ":video_coding_utility",
- "../../base:rtc_base_approved",
+- "../../media:rtc_media_base",
- "../../system_wrappers",
- ]
-+ deps = []
++ deps = []
if (rtc_use_h264) {
defines += [ "WEBRTC_USE_H264" ]
-@@ -182,10 +178,10 @@ rtc_static_library("webrtc_h264") {
+@@ -173,10 +168,10 @@ rtc_static_library("webrtc_h264") {
"codecs/h264/h264_encoder_impl.h",
]
deps += [
diff --git a/www/chromium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn b/www/chromium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn
index 0d47d3b..2efac34 100644
--- a/www/chromium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn
+++ b/www/chromium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/webrtc/system_wrappers/BUILD.gn.orig 2017-03-09 20:05:29 UTC
+--- third_party/webrtc/system_wrappers/BUILD.gn.orig 2017-04-19 19:07:53 UTC
+++ third_party/webrtc/system_wrappers/BUILD.gn
@@ -87,7 +87,7 @@ rtc_static_library("system_wrappers") {
libs += [ "log" ]
diff --git a/www/chromium/files/patch-third__party_webrtc_system__wrappers_source_atomic32__non__darwin__unix.cc b/www/chromium/files/patch-third__party_webrtc_system__wrappers_source_atomic32__non__darwin__unix.cc
index 5984db3..7a50811 100644
--- a/www/chromium/files/patch-third__party_webrtc_system__wrappers_source_atomic32__non__darwin__unix.cc
+++ b/www/chromium/files/patch-third__party_webrtc_system__wrappers_source_atomic32__non__darwin__unix.cc
@@ -1,4 +1,4 @@
---- third_party/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc.orig 2017-01-26 00:50:17 UTC
+--- third_party/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc.orig 2017-04-19 19:07:53 UTC
+++ third_party/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc
@@ -12,7 +12,7 @@
diff --git a/www/chromium/files/patch-third__party_webrtc_voice__engine_voice__engine__defines.h b/www/chromium/files/patch-third__party_webrtc_voice__engine_voice__engine__defines.h
deleted file mode 100644
index 3327a28..0000000
--- a/www/chromium/files/patch-third__party_webrtc_voice__engine_voice__engine__defines.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- third_party/webrtc/voice_engine/voice_engine_defines.h.orig 2017-01-26 00:50:17 UTC
-+++ third_party/webrtc/voice_engine/voice_engine_defines.h
-@@ -210,7 +210,7 @@ inline int VoEChannelId(int moduleId) {
- #include <pthread.h>
- #include <sys/socket.h>
- #include <sys/types.h>
--#ifndef QNX
-+#if !defined(QNX) && !defined(WEBRTC_BSD)
- #include <linux/net.h>
- #ifndef ANDROID
- #include <sys/soundcard.h>
diff --git a/www/chromium/files/patch-third__party_widevine_cdm_BUILD.gn b/www/chromium/files/patch-third__party_widevine_cdm_BUILD.gn
index 7cf640a..3bd5319 100644
--- a/www/chromium/files/patch-third__party_widevine_cdm_BUILD.gn
+++ b/www/chromium/files/patch-third__party_widevine_cdm_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/widevine/cdm/BUILD.gn.orig 2017-01-26 00:49:31 UTC
+--- third_party/widevine/cdm/BUILD.gn.orig 2017-04-19 19:06:53 UTC
+++ third_party/widevine/cdm/BUILD.gn
@@ -26,7 +26,7 @@ if (is_android) {
widevine_cdm_version_h_file =
@@ -9,7 +9,7 @@
widevine_cdm_version_h_file = "linux/$widevine_arch/widevine_cdm_version.h"
widevine_cdm_binary_files = [ "linux/$widevine_arch/libwidevinecdm.so" ]
} else if (is_win) {
-@@ -160,7 +160,7 @@ if ((is_chrome_branded || enable_widevin
+@@ -165,7 +165,7 @@ if ((is_chrome_branded || enable_widevin
":widevinecdm",
]
@@ -18,7 +18,7 @@
ldflags =
[ rebase_path("$root_out_dir/$widevine_cdm_path/libwidevinecdm.so",
root_build_dir) ]
-@@ -183,7 +183,7 @@ if ((is_chrome_branded || enable_widevin
+@@ -188,7 +188,7 @@ if ((is_chrome_branded || enable_widevin
# This target exists for tests to depend on that pulls in a runtime dependency
# on the license server.
source_set("widevine_test_license_server") {
diff --git a/www/chromium/files/patch-third__party_yasm_BUILD.gn b/www/chromium/files/patch-third__party_yasm_BUILD.gn
index 5c7b20b..11a2eab 100644
--- a/www/chromium/files/patch-third__party_yasm_BUILD.gn
+++ b/www/chromium/files/patch-third__party_yasm_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/yasm/BUILD.gn.orig 2017-01-26 00:49:31 UTC
+--- third_party/yasm/BUILD.gn.orig 2017-04-19 19:06:53 UTC
+++ third_party/yasm/BUILD.gn
@@ -32,7 +32,12 @@ import("//build/config/compiler/compiler
if (current_toolchain == host_toolchain) {
diff --git a/www/chromium/files/patch-third__party_zlib_BUILD.gn b/www/chromium/files/patch-third__party_zlib_BUILD.gn
index a7516cb..f34a222 100644
--- a/www/chromium/files/patch-third__party_zlib_BUILD.gn
+++ b/www/chromium/files/patch-third__party_zlib_BUILD.gn
@@ -1,4 +1,4 @@
---- third_party/zlib/BUILD.gn.orig 2017-01-26 00:49:31 UTC
+--- third_party/zlib/BUILD.gn.orig 2017-04-19 19:06:53 UTC
+++ third_party/zlib/BUILD.gn
@@ -115,7 +115,7 @@ static_library("minizip") {
"contrib/minizip/iowin32.h",
diff --git a/www/chromium/files/patch-tools_battor__agent_BUILD.gn b/www/chromium/files/patch-tools_battor__agent_BUILD.gn
index 30679f4..80c12b6 100644
--- a/www/chromium/files/patch-tools_battor__agent_BUILD.gn
+++ b/www/chromium/files/patch-tools_battor__agent_BUILD.gn
@@ -1,4 +1,4 @@
---- tools/battor_agent/BUILD.gn.orig 2017-01-26 00:49:31 UTC
+--- tools/battor_agent/BUILD.gn.orig 2017-04-19 19:06:54 UTC
+++ tools/battor_agent/BUILD.gn
@@ -5,7 +5,7 @@
import("//testing/test.gni")
diff --git a/www/chromium/files/patch-tools_gn_args.cc b/www/chromium/files/patch-tools_gn_args.cc
index 7b2a4c7..4c9ef98 100644
--- a/www/chromium/files/patch-tools_gn_args.cc
+++ b/www/chromium/files/patch-tools_gn_args.cc
@@ -1,6 +1,6 @@
---- tools/gn/args.cc.orig 2017-03-09 20:04:48 UTC
+--- tools/gn/args.cc.orig 2017-04-19 19:06:54 UTC
+++ tools/gn/args.cc
-@@ -270,6 +270,8 @@ void Args::SetSystemVarsLocked(Scope* de
+@@ -298,6 +298,8 @@ void Args::SetSystemVarsLocked(Scope* de
os = "mac";
#elif defined(OS_LINUX)
os = "linux";
diff --git a/www/chromium/files/patch-tools_gn_bootstrap_bootstrap.py b/www/chromium/files/patch-tools_gn_bootstrap_bootstrap.py
index c29d59c..35ce717 100644
--- a/www/chromium/files/patch-tools_gn_bootstrap_bootstrap.py
+++ b/www/chromium/files/patch-tools_gn_bootstrap_bootstrap.py
@@ -1,4 +1,4 @@
---- tools/gn/bootstrap/bootstrap.py.orig 2017-03-09 20:04:48 UTC
+--- tools/gn/bootstrap/bootstrap.py.orig 2017-04-19 19:06:54 UTC
+++ tools/gn/bootstrap/bootstrap.py
@@ -23,6 +23,7 @@ import os
import shutil
@@ -19,7 +19,7 @@
def check_call(cmd, **kwargs):
logging.debug('Running: %s', ' '.join(cmd))
-@@ -605,6 +607,39 @@ def write_gn_ninja(path, root_gen_dir, o
+@@ -624,6 +626,41 @@ def write_gn_ninja(path, root_gen_dir, o
'base/third_party/libevent/epoll.c',
])
@@ -36,8 +36,10 @@
+ static_libraries['base']['sources'].extend([
+ 'base/allocator/allocator_shim.cc',
+ 'base/allocator/allocator_shim_default_dispatch_to_glibc.cc',
++ 'base/callback_helpers.cc',
+ 'base/memory/shared_memory_posix.cc',
+ 'base/nix/xdg_util.cc',
++ 'base/process/memory_stubs.cc',
+ #'base/process/internal_linux.cc',
+ 'base/process/process_handle_' + platform.system().lower() + '.cc',
+ 'base/process/process_iterator_' + platform.system().lower() + '.cc',
diff --git a/www/chromium/files/patch-tools_perf_chrome__telemetry__build_BUILD.gn b/www/chromium/files/patch-tools_perf_chrome__telemetry__build_BUILD.gn
index cb6f066..8db9777 100644
--- a/www/chromium/files/patch-tools_perf_chrome__telemetry__build_BUILD.gn
+++ b/www/chromium/files/patch-tools_perf_chrome__telemetry__build_BUILD.gn
@@ -1,4 +1,4 @@
---- tools/perf/chrome_telemetry_build/BUILD.gn.orig 2017-03-09 20:04:48 UTC
+--- tools/perf/chrome_telemetry_build/BUILD.gn.orig 2017-04-19 19:06:54 UTC
+++ tools/perf/chrome_telemetry_build/BUILD.gn
@@ -93,7 +93,7 @@ group("telemetry_chrome_test") {
data_deps += [ "//chrome:reorder_imports" ]
diff --git a/www/chromium/files/patch-tools_variations_fieldtrial__to__struct.py b/www/chromium/files/patch-tools_variations_fieldtrial__to__struct.py
index 508e8c5..2385c7f 100644
--- a/www/chromium/files/patch-tools_variations_fieldtrial__to__struct.py
+++ b/www/chromium/files/patch-tools_variations_fieldtrial__to__struct.py
@@ -1,4 +1,4 @@
---- tools/variations/fieldtrial_to_struct.py.orig 2017-01-26 00:49:31 UTC
+--- tools/variations/fieldtrial_to_struct.py.orig 2017-04-19 19:06:54 UTC
+++ tools/variations/fieldtrial_to_struct.py
@@ -116,7 +116,7 @@ def main(arguments):
if not opts.platform:
diff --git a/www/chromium/files/patch-ui_accessibility_platform_ax__platform__node.h b/www/chromium/files/patch-ui_accessibility_platform_ax__platform__node.h
index 7959642..801c06f 100644
--- a/www/chromium/files/patch-ui_accessibility_platform_ax__platform__node.h
+++ b/www/chromium/files/patch-ui_accessibility_platform_ax__platform__node.h
@@ -1,4 +1,4 @@
---- ui/accessibility/platform/ax_platform_node.h.orig 2017-01-26 00:49:31 UTC
+--- ui/accessibility/platform/ax_platform_node.h.orig 2017-04-19 19:06:54 UTC
+++ ui/accessibility/platform/ax_platform_node.h
@@ -22,7 +22,7 @@
#define PLATFORM_HAS_AX_PLATFORM_NODE_IMPL 1
diff --git a/www/chromium/files/patch-ui_app__list_app__list__constants.cc b/www/chromium/files/patch-ui_app__list_app__list__constants.cc
index 4b89e27..8342c35 100644
--- a/www/chromium/files/patch-ui_app__list_app__list__constants.cc
+++ b/www/chromium/files/patch-ui_app__list_app__list__constants.cc
@@ -1,4 +1,4 @@
---- ui/app_list/app_list_constants.cc.orig 2017-01-26 00:49:31 UTC
+--- ui/app_list/app_list_constants.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/app_list/app_list_constants.cc
@@ -140,7 +140,7 @@ const char kSearchQueryLength[] = "Apps.
const char kSearchResultDistanceFromOrigin[] =
diff --git a/www/chromium/files/patch-ui_app__list_app__list__constants.h b/www/chromium/files/patch-ui_app__list_app__list__constants.h
index a99e9c0..0eae800 100644
--- a/www/chromium/files/patch-ui_app__list_app__list__constants.h
+++ b/www/chromium/files/patch-ui_app__list_app__list__constants.h
@@ -1,4 +1,4 @@
---- ui/app_list/app_list_constants.h.orig 2017-01-26 00:49:31 UTC
+--- ui/app_list/app_list_constants.h.orig 2017-04-19 19:06:54 UTC
+++ ui/app_list/app_list_constants.h
@@ -89,8 +89,8 @@ APP_LIST_EXPORT extern const char kSearc
APP_LIST_EXPORT extern const char kSearchQueryLength[];
diff --git a/www/chromium/files/patch-ui_app__list_views_app__list__item__view.cc b/www/chromium/files/patch-ui_app__list_views_app__list__item__view.cc
index 543a726..8fff20b 100644
--- a/www/chromium/files/patch-ui_app__list_views_app__list__item__view.cc
+++ b/www/chromium/files/patch-ui_app__list_views_app__list__item__view.cc
@@ -1,4 +1,4 @@
---- ui/app_list/views/app_list_item_view.cc.orig 2017-01-26 00:49:31 UTC
+--- ui/app_list/views/app_list_item_view.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/app_list/views/app_list_item_view.cc
@@ -55,7 +55,7 @@ gfx::FontList GetFontList() {
const gfx::FontList& font_list = rb.GetFontList(kItemTextFontStyle);
diff --git a/www/chromium/files/patch-ui_aura_BUILD.gn b/www/chromium/files/patch-ui_aura_BUILD.gn
index d86c8f4..8167b4b 100644
--- a/www/chromium/files/patch-ui_aura_BUILD.gn
+++ b/www/chromium/files/patch-ui_aura_BUILD.gn
@@ -1,6 +1,6 @@
---- ui/aura/BUILD.gn.orig 2017-03-09 20:04:49 UTC
+--- ui/aura/BUILD.gn.orig 2017-04-19 19:06:54 UTC
+++ ui/aura/BUILD.gn
-@@ -362,7 +362,7 @@ test("aura_unittests") {
+@@ -369,7 +369,7 @@ test("aura_unittests") {
"//ui/gl:test_support",
]
diff --git a/www/chromium/files/patch-ui_base_BUILD.gn b/www/chromium/files/patch-ui_base_BUILD.gn
index a22a3be..3b91873 100644
--- a/www/chromium/files/patch-ui_base_BUILD.gn
+++ b/www/chromium/files/patch-ui_base_BUILD.gn
@@ -1,6 +1,6 @@
---- ui/base/BUILD.gn.orig 2017-03-09 20:04:49 UTC
+--- ui/base/BUILD.gn.orig 2017-04-19 19:06:54 UTC
+++ ui/base/BUILD.gn
-@@ -352,7 +352,7 @@ component("base") {
+@@ -357,7 +357,7 @@ component("base") {
sources += [ "touch/touch_device_android.cc" ]
} else if (is_ios) {
sources += [ "touch/touch_device_ios.cc" ]
@@ -9,7 +9,7 @@
sources += [ "touch/touch_device_linux.cc" ]
} else {
# Empty implementation for all other cases.
-@@ -462,11 +462,11 @@ component("base") {
+@@ -467,11 +467,11 @@ component("base") {
]
}
@@ -23,7 +23,7 @@
deps += [ "//build/linux:fontconfig" ]
}
-@@ -474,7 +474,7 @@ component("base") {
+@@ -479,7 +479,7 @@ component("base") {
configs += [ "//build/config/linux:glib" ]
}
@@ -32,7 +32,7 @@
if (!toolkit_views && !use_aura) {
sources -= [
"dragdrop/drag_utils.cc",
-@@ -825,7 +825,7 @@ test("ui_base_unittests") {
+@@ -831,7 +831,7 @@ test("ui_base_unittests") {
"ime/win/imm32_manager_unittest.cc",
"ime/win/tsf_input_scope_unittest.cc",
]
@@ -41,7 +41,7 @@
sources += [ "ime/input_method_auralinux_unittest.cc" ]
}
if (use_x11) {
-@@ -946,7 +946,7 @@ test("ui_base_unittests") {
+@@ -952,7 +952,7 @@ test("ui_base_unittests") {
]
}
@@ -50,7 +50,7 @@
# TODO(brettw): We should be able to depend on //ui/resources:ui_test_pak
# instead of depending directly on the non-test .pak files, but depending
# on ui_test_pak seems to have no effect.
-@@ -959,7 +959,7 @@ test("ui_base_unittests") {
+@@ -965,7 +965,7 @@ test("ui_base_unittests") {
"//third_party/mesa:osmesa",
]
}
diff --git a/www/chromium/files/patch-ui_base_dragdrop_os__exchange__data__provider__factory.cc b/www/chromium/files/patch-ui_base_dragdrop_os__exchange__data__provider__factory.cc
index 8527918..273c33f 100644
--- a/www/chromium/files/patch-ui_base_dragdrop_os__exchange__data__provider__factory.cc
+++ b/www/chromium/files/patch-ui_base_dragdrop_os__exchange__data__provider__factory.cc
@@ -1,4 +1,4 @@
---- ui/base/dragdrop/os_exchange_data_provider_factory.cc.orig 2017-02-02 02:03:13 UTC
+--- ui/base/dragdrop/os_exchange_data_provider_factory.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/base/dragdrop/os_exchange_data_provider_factory.cc
@@ -8,7 +8,7 @@
diff --git a/www/chromium/files/patch-ui_base_ime_BUILD.gn b/www/chromium/files/patch-ui_base_ime_BUILD.gn
index aa3a96e..f18610b 100644
--- a/www/chromium/files/patch-ui_base_ime_BUILD.gn
+++ b/www/chromium/files/patch-ui_base_ime_BUILD.gn
@@ -1,4 +1,4 @@
---- ui/base/ime/BUILD.gn.orig 2017-03-09 20:04:49 UTC
+--- ui/base/ime/BUILD.gn.orig 2017-04-19 19:06:54 UTC
+++ ui/base/ime/BUILD.gn
@@ -124,7 +124,7 @@ component("ime") {
"//skia",
diff --git a/www/chromium/files/patch-ui_base_ime_ime__engine__handler__interface.h b/www/chromium/files/patch-ui_base_ime_ime__engine__handler__interface.h
index 9f1edc2..a8b2b27 100644
--- a/www/chromium/files/patch-ui_base_ime_ime__engine__handler__interface.h
+++ b/www/chromium/files/patch-ui_base_ime_ime__engine__handler__interface.h
@@ -1,4 +1,4 @@
---- ui/base/ime/ime_engine_handler_interface.h.orig 2017-03-09 20:04:49 UTC
+--- ui/base/ime/ime_engine_handler_interface.h.orig 2017-04-19 19:06:54 UTC
+++ ui/base/ime/ime_engine_handler_interface.h
@@ -142,7 +142,7 @@ class UI_BASE_IME_EXPORT IMEEngineHandle
// Hides the input view window (from API call).
diff --git a/www/chromium/files/patch-ui_base_ime_input__method__factory.cc b/www/chromium/files/patch-ui_base_ime_input__method__factory.cc
index 4f3bd34..658d5fa 100644
--- a/www/chromium/files/patch-ui_base_ime_input__method__factory.cc
+++ b/www/chromium/files/patch-ui_base_ime_input__method__factory.cc
@@ -1,4 +1,4 @@
---- ui/base/ime/input_method_factory.cc.orig 2017-03-09 20:04:49 UTC
+--- ui/base/ime/input_method_factory.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/base/ime/input_method_factory.cc
@@ -16,7 +16,8 @@
#include "ui/base/ime/input_method_win.h"
diff --git a/www/chromium/files/patch-ui_base_ime_input__method__initializer.cc b/www/chromium/files/patch-ui_base_ime_input__method__initializer.cc
index 0cc6722..078ebbd 100644
--- a/www/chromium/files/patch-ui_base_ime_input__method__initializer.cc
+++ b/www/chromium/files/patch-ui_base_ime_input__method__initializer.cc
@@ -1,4 +1,4 @@
---- ui/base/ime/input_method_initializer.cc.orig 2017-01-26 00:49:31 UTC
+--- ui/base/ime/input_method_initializer.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/base/ime/input_method_initializer.cc
@@ -8,14 +8,14 @@
diff --git a/www/chromium/files/patch-ui_base_resource_resource__bundle.cc b/www/chromium/files/patch-ui_base_resource_resource__bundle.cc
index 6a846b0..003e7f8 100644
--- a/www/chromium/files/patch-ui_base_resource_resource__bundle.cc
+++ b/www/chromium/files/patch-ui_base_resource_resource__bundle.cc
@@ -1,6 +1,6 @@
---- ui/base/resource/resource_bundle.cc.orig 2017-03-09 20:04:49 UTC
+--- ui/base/resource/resource_bundle.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/base/resource/resource_bundle.cc
-@@ -650,7 +650,7 @@ void ResourceBundle::ReloadFonts() {
+@@ -661,7 +661,7 @@ void ResourceBundle::ReloadFonts() {
}
ScaleFactor ResourceBundle::GetMaxScaleFactor() const {
@@ -9,7 +9,7 @@
return max_scale_factor_;
#else
return GetSupportedScaleFactors().back();
-@@ -709,7 +709,7 @@ void ResourceBundle::InitSharedInstance(
+@@ -719,7 +719,7 @@ void ResourceBundle::InitSharedInstance(
supported_scale_factors.push_back(SCALE_FACTOR_100P);
}
#elif defined(OS_MACOSX) || defined(OS_CHROMEOS) || defined(OS_LINUX) || \
diff --git a/www/chromium/files/patch-ui_base_ui__features.gni b/www/chromium/files/patch-ui_base_ui__features.gni
index 2611b94..1438526 100644
--- a/www/chromium/files/patch-ui_base_ui__features.gni
+++ b/www/chromium/files/patch-ui_base_ui__features.gni
@@ -1,4 +1,4 @@
---- ui/base/ui_features.gni.orig 2017-03-09 20:04:49 UTC
+--- ui/base/ui_features.gni.orig 2017-04-19 19:06:54 UTC
+++ ui/base/ui_features.gni
@@ -10,4 +10,4 @@ declare_args() {
mac_views_browser = false
diff --git a/www/chromium/files/patch-ui_base_webui_web__ui__util.cc b/www/chromium/files/patch-ui_base_webui_web__ui__util.cc
index 3be6125..f825383 100644
--- a/www/chromium/files/patch-ui_base_webui_web__ui__util.cc
+++ b/www/chromium/files/patch-ui_base_webui_web__ui__util.cc
@@ -1,4 +1,4 @@
---- ui/base/webui/web_ui_util.cc.orig 2017-01-26 00:49:31 UTC
+--- ui/base/webui/web_ui_util.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/base/webui/web_ui_util.cc
@@ -161,7 +161,7 @@ std::string GetFontFamily() {
diff --git a/www/chromium/files/patch-ui_compositor_BUILD.gn b/www/chromium/files/patch-ui_compositor_BUILD.gn
index b2f9fba..08800ab 100644
--- a/www/chromium/files/patch-ui_compositor_BUILD.gn
+++ b/www/chromium/files/patch-ui_compositor_BUILD.gn
@@ -1,6 +1,6 @@
---- ui/compositor/BUILD.gn.orig 2017-03-09 20:04:49 UTC
+--- ui/compositor/BUILD.gn.orig 2017-04-19 19:06:54 UTC
+++ ui/compositor/BUILD.gn
-@@ -203,7 +203,7 @@ test("compositor_unittests") {
+@@ -205,7 +205,7 @@ test("compositor_unittests") {
"//ui/gl",
"//ui/resources",
]
diff --git a/www/chromium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc b/www/chromium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc
index 3bdcb83..0b88df7 100644
--- a/www/chromium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc
+++ b/www/chromium/files/patch-ui_events_devices_x11_device__data__manager__x11.cc
@@ -1,4 +1,4 @@
---- ui/events/devices/x11/device_data_manager_x11.cc.orig 2017-02-02 02:03:13 UTC
+--- ui/events/devices/x11/device_data_manager_x11.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/events/devices/x11/device_data_manager_x11.cc
@@ -834,6 +834,8 @@ void DeviceDataManagerX11::SetDisabledKe
}
diff --git a/www/chromium/files/patch-ui_events_event__switches.cc b/www/chromium/files/patch-ui_events_event__switches.cc
index 3dc720b..97ce603 100644
--- a/www/chromium/files/patch-ui_events_event__switches.cc
+++ b/www/chromium/files/patch-ui_events_event__switches.cc
@@ -1,4 +1,4 @@
---- ui/events/event_switches.cc.orig 2017-03-09 20:04:49 UTC
+--- ui/events/event_switches.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/events/event_switches.cc
@@ -17,7 +17,7 @@ const char kEnableScrollPrediction[] = "
const char kCompensateForUnstablePinchZoom[] =
diff --git a/www/chromium/files/patch-ui_events_event__switches.h b/www/chromium/files/patch-ui_events_event__switches.h
index a2fa8cf..a5907eb 100644
--- a/www/chromium/files/patch-ui_events_event__switches.h
+++ b/www/chromium/files/patch-ui_events_event__switches.h
@@ -1,4 +1,4 @@
---- ui/events/event_switches.h.orig 2017-03-09 20:04:49 UTC
+--- ui/events/event_switches.h.orig 2017-04-19 19:06:54 UTC
+++ ui/events/event_switches.h
@@ -14,7 +14,7 @@ namespace switches {
EVENTS_BASE_EXPORT extern const char kEnableScrollPrediction[];
diff --git a/www/chromium/files/patch-ui_events_keycodes_dom_keycode__converter.cc b/www/chromium/files/patch-ui_events_keycodes_dom_keycode__converter.cc
index 625b693..e2be265 100644
--- a/www/chromium/files/patch-ui_events_keycodes_dom_keycode__converter.cc
+++ b/www/chromium/files/patch-ui_events_keycodes_dom_keycode__converter.cc
@@ -1,4 +1,4 @@
---- ui/events/keycodes/dom/keycode_converter.cc.orig 2017-01-26 00:49:31 UTC
+--- ui/events/keycodes/dom/keycode_converter.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/events/keycodes/dom/keycode_converter.cc
@@ -19,7 +19,7 @@ namespace {
// and DOM Level 3 |code| strings.
diff --git a/www/chromium/files/patch-ui_gfx_BUILD.gn b/www/chromium/files/patch-ui_gfx_BUILD.gn
index b455522..4f5094b 100644
--- a/www/chromium/files/patch-ui_gfx_BUILD.gn
+++ b/www/chromium/files/patch-ui_gfx_BUILD.gn
@@ -1,6 +1,6 @@
---- ui/gfx/BUILD.gn.orig 2017-03-09 20:04:49 UTC
+--- ui/gfx/BUILD.gn.orig 2017-04-19 19:06:54 UTC
+++ ui/gfx/BUILD.gn
-@@ -375,7 +375,7 @@ component("gfx") {
+@@ -383,7 +383,7 @@ component("gfx") {
}
# Linux.
@@ -9,7 +9,7 @@
deps += [ "//build/linux:fontconfig" ]
}
-@@ -570,7 +570,7 @@ static_library("test_support") {
+@@ -592,7 +592,7 @@ static_library("test_support") {
"test/ui_cocoa_test_helper.mm",
]
}
diff --git a/www/chromium/files/patch-ui_gfx_canvas__skia.cc b/www/chromium/files/patch-ui_gfx_canvas__skia.cc
index 722f99a..bb9a49b 100644
--- a/www/chromium/files/patch-ui_gfx_canvas__skia.cc
+++ b/www/chromium/files/patch-ui_gfx_canvas__skia.cc
@@ -1,6 +1,6 @@
---- ui/gfx/canvas_skia.cc.orig 2017-03-09 20:04:49 UTC
+--- ui/gfx/canvas_skia.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/gfx/canvas_skia.cc
-@@ -200,7 +200,7 @@ void Canvas::DrawStringRectWithFlags(con
+@@ -201,7 +201,7 @@ void Canvas::DrawStringRectWithFlags(con
Range range = StripAcceleratorChars(flags, &adjusted_text);
bool elide_text = ((flags & NO_ELLIPSIS) == 0);
diff --git a/www/chromium/files/patch-ui_gfx_font__fallback__linux.cc b/www/chromium/files/patch-ui_gfx_font__fallback__linux.cc
index 709cc86..382059b 100644
--- a/www/chromium/files/patch-ui_gfx_font__fallback__linux.cc
+++ b/www/chromium/files/patch-ui_gfx_font__fallback__linux.cc
@@ -1,4 +1,4 @@
---- ui/gfx/font_fallback_linux.cc.orig 2017-02-02 02:03:13 UTC
+--- ui/gfx/font_fallback_linux.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/gfx/font_fallback_linux.cc
@@ -15,6 +15,10 @@
#include "base/memory/ptr_util.h"
diff --git a/www/chromium/files/patch-ui_gfx_font__list.cc b/www/chromium/files/patch-ui_gfx_font__list.cc
index 4eeeabd..69cf89d 100644
--- a/www/chromium/files/patch-ui_gfx_font__list.cc
+++ b/www/chromium/files/patch-ui_gfx_font__list.cc
@@ -1,4 +1,4 @@
---- ui/gfx/font_list.cc.orig 2017-02-02 02:03:13 UTC
+--- ui/gfx/font_list.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/gfx/font_list.cc
@@ -24,7 +24,7 @@ base::LazyInstance<scoped_refptr<gfx::Fo
bool g_default_impl_initialized = false;
diff --git a/www/chromium/files/patch-ui_gfx_font__render__params.h b/www/chromium/files/patch-ui_gfx_font__render__params.h
index c87dabe..2b2f51e 100644
--- a/www/chromium/files/patch-ui_gfx_font__render__params.h
+++ b/www/chromium/files/patch-ui_gfx_font__render__params.h
@@ -1,4 +1,4 @@
---- ui/gfx/font_render_params.h.orig 2017-01-26 00:49:31 UTC
+--- ui/gfx/font_render_params.h.orig 2017-04-19 19:06:54 UTC
+++ ui/gfx/font_render_params.h
@@ -106,13 +106,13 @@ GFX_EXPORT FontRenderParams GetFontRende
const FontRenderParamsQuery& query,
diff --git a/www/chromium/files/patch-ui_gfx_render__text.cc b/www/chromium/files/patch-ui_gfx_render__text.cc
index 447e8b8..46acc60 100644
--- a/www/chromium/files/patch-ui_gfx_render__text.cc
+++ b/www/chromium/files/patch-ui_gfx_render__text.cc
@@ -1,6 +1,6 @@
---- ui/gfx/render_text.cc.orig 2017-03-09 20:04:49 UTC
+--- ui/gfx/render_text.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/gfx/render_text.cc
-@@ -982,32 +982,33 @@ void RenderText::SetDisplayOffset(int ho
+@@ -976,32 +976,33 @@ void RenderText::SetDisplayOffset(int ho
const int extra_content = GetContentWidth() - display_rect_.width();
const int cursor_width = cursor_enabled_ ? 1 : 0;
diff --git a/www/chromium/files/patch-ui_gl_BUILD.gn b/www/chromium/files/patch-ui_gl_BUILD.gn
index f4cbc99..3edb9fe 100644
--- a/www/chromium/files/patch-ui_gl_BUILD.gn
+++ b/www/chromium/files/patch-ui_gl_BUILD.gn
@@ -1,4 +1,4 @@
---- ui/gl/BUILD.gn.orig 2017-03-09 20:04:49 UTC
+--- ui/gl/BUILD.gn.orig 2017-04-19 19:06:54 UTC
+++ ui/gl/BUILD.gn
@@ -13,7 +13,7 @@ declare_args() {
enable_swiftshader = is_chrome_branded && is_win
@@ -9,7 +9,7 @@
use_glx = use_x11 || ozone_platform_x11
if (is_android) {
-@@ -174,7 +174,7 @@ component("gl") {
+@@ -170,7 +170,7 @@ component("gl") {
"gl_surface_egl.h",
]
}
diff --git a/www/chromium/files/patch-ui_gl_sync__control__vsync__provider.cc b/www/chromium/files/patch-ui_gl_sync__control__vsync__provider.cc
index efbf0f9..d8da75f 100644
--- a/www/chromium/files/patch-ui_gl_sync__control__vsync__provider.cc
+++ b/www/chromium/files/patch-ui_gl_sync__control__vsync__provider.cc
@@ -1,63 +1,38 @@
---- ui/gl/sync_control_vsync_provider.cc.orig 2017-01-26 00:49:32 UTC
+--- ui/gl/sync_control_vsync_provider.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/gl/sync_control_vsync_provider.cc
@@ -11,7 +11,7 @@
#include "base/trace_event/trace_event.h"
#include "build/build_config.h"
--#if defined(OS_LINUX) || defined(OS_WIN)
-+#if defined(OS_LINUX) || defined(OS_BSD) || defined(OS_WIN)
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
// These constants define a reasonable range for a calculated refresh interval.
// Calculating refreshes out of this range will be considered a fatal error.
const int64_t kMinVsyncIntervalUs = base::Time::kMicrosecondsPerSecond / 400;
-@@ -21,17 +21,17 @@ const int64_t kMaxVsyncIntervalUs = base
- // we think the latest computed interval is invalid (noisey due to
- // monitor configuration change, moving a window between monitors, etc.).
- const double kRelativeIntervalDifferenceThreshold = 0.05;
--#endif // defined(OS_LINUX) || defined(OS_WIN)
-+#endif // defined(OS_LINUX) || defined(OS_BSD) || defined(OS_WIN)
-
+@@ -26,7 +26,7 @@ const double kRelativeIntervalDifference
namespace gl {
SyncControlVSyncProvider::SyncControlVSyncProvider() : gfx::VSyncProvider() {
--#if defined(OS_LINUX) || defined(OS_WIN)
-+#if defined(OS_LINUX) || defined(OS_BSD) || defined(OS_WIN)
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
// On platforms where we can't get an accurate reading on the refresh
// rate we fall back to the assumption that we're displaying 60 frames
// per second.
- last_good_interval_ = base::TimeDelta::FromSeconds(1) / 60;
--#endif // defined(OS_LINUX) || defined(OS_WIN)
-+#endif // defined(OS_LINUX) || defined(OS_BSD) || defined(OS_WIN)
- }
-
- SyncControlVSyncProvider::~SyncControlVSyncProvider() {}
@@ -39,7 +39,7 @@ SyncControlVSyncProvider::~SyncControlVS
void SyncControlVSyncProvider::GetVSyncParameters(
const UpdateVSyncCallback& callback) {
TRACE_EVENT0("gpu", "SyncControlVSyncProvider::GetVSyncParameters");
--#if defined(OS_LINUX) || defined(OS_WIN)
-+#if defined(OS_LINUX) || defined(OS_BSD) || defined(OS_WIN)
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
base::TimeTicks timebase;
- int64_t system_time;
-@@ -129,10 +129,10 @@ void SyncControlVSyncProvider::GetVSyncP
+ // The actual clock used for the system time returned by glXGetSyncValuesOML
+@@ -155,7 +155,7 @@ void SyncControlVSyncProvider::GetVSyncP
last_timebase_ = timebase;
last_media_stream_counter_ = media_stream_counter;
callback.Run(timebase, last_good_interval_);
--#endif // defined(OS_LINUX) || defined(OS_WIN)
-+#endif // defined(OS_LINUX) || defined(OS_BSD) || defined(OS_WIN)
- }
-
--#if defined(OS_LINUX)
-+#if defined(OS_LINUX) || defined(OS_BSD)
- bool SyncControlVSyncProvider::AdjustSyncValues(int64_t* system_time,
- int64_t* media_stream_counter) {
- // Both Intel and Mali drivers will return TRUE for GetSyncValues
-@@ -192,7 +192,7 @@ bool SyncControlVSyncProvider::AdjustSyn
-
- return true;
- }
-#endif // defined(OS_LINUX)
+#endif // defined(OS_LINUX) || defined(OS_BSD)
+ }
- #if defined(OS_WIN)
- bool SyncControlVSyncProvider::AdjustSyncValues(int64_t* system_time,
+ } // namespace gl
diff --git a/www/chromium/files/patch-ui_gl_sync__control__vsync__provider.h b/www/chromium/files/patch-ui_gl_sync__control__vsync__provider.h
index 8344229..7abf154 100644
--- a/www/chromium/files/patch-ui_gl_sync__control__vsync__provider.h
+++ b/www/chromium/files/patch-ui_gl_sync__control__vsync__provider.h
@@ -1,24 +1,18 @@
---- ui/gl/sync_control_vsync_provider.h.orig 2017-01-26 00:49:32 UTC
+--- ui/gl/sync_control_vsync_provider.h.orig 2017-04-19 19:06:54 UTC
+++ ui/gl/sync_control_vsync_provider.h
-@@ -32,7 +32,7 @@ class GL_EXPORT SyncControlVSyncProvider
+@@ -31,7 +31,7 @@ class SyncControlVSyncProvider : public
virtual bool GetMscRate(int32_t* numerator, int32_t* denominator) = 0;
private:
--#if defined(OS_LINUX) || defined(OS_WIN)
-+#if defined(OS_LINUX) || defined(OS_BSD) || defined(OS_WIN)
- bool AdjustSyncValues(int64_t* system_time, int64_t* media_stream_counter);
-
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
base::TimeTicks last_timebase_;
-@@ -46,11 +46,11 @@ class GL_EXPORT SyncControlVSyncProvider
+ uint64_t last_media_stream_counter_ = 0;
+ base::TimeDelta last_good_interval_;
+@@ -42,7 +42,7 @@ class SyncControlVSyncProvider : public
// from configuration change (monitor reconfiguration, moving windows
// between monitors, suspend and resume, etc.).
std::queue<base::TimeDelta> last_computed_intervals_;
--#endif // defined(OS_LINUX) || defined(OS_WIN)
-+#endif // defined(OS_LINUX) || defined(OS_BSD) || defined(OS_WIN)
-
--#if defined(OS_LINUX)
-+#if defined(OS_LINUX) || defined(OS_BSD)
- bool invalid_msc_ = false;
-#endif // defined(OS_LINUX)
+#endif // defined(OS_LINUX) || defined(OS_BSD)
diff --git a/www/chromium/files/patch-ui_message__center_message__center__style.h b/www/chromium/files/patch-ui_message__center_message__center__style.h
index 4e42f71..51a6c11 100644
--- a/www/chromium/files/patch-ui_message__center_message__center__style.h
+++ b/www/chromium/files/patch-ui_message__center_message__center__style.h
@@ -1,6 +1,6 @@
---- ui/message_center/message_center_style.h.orig 2017-01-26 00:49:32 UTC
+--- ui/message_center/message_center_style.h.orig 2017-04-19 19:06:54 UTC
+++ ui/message_center/message_center_style.h
-@@ -115,7 +115,7 @@ const int kButtonHorizontalPadding = 16;
+@@ -121,7 +121,7 @@ const int kButtonHorizontalPadding = 16;
const int kButtonIconTopPadding = 11; // In DIPs.
const int kButtonIconToTitlePadding = 16; // In DIPs.
diff --git a/www/chromium/files/patch-ui_message__center_views_message__center__button__bar.cc b/www/chromium/files/patch-ui_message__center_views_message__center__button__bar.cc
index 2aa0e7c..7c285d5 100644
--- a/www/chromium/files/patch-ui_message__center_views_message__center__button__bar.cc
+++ b/www/chromium/files/patch-ui_message__center_views_message__center__button__bar.cc
@@ -1,4 +1,4 @@
---- ui/message_center/views/message_center_button_bar.cc.orig 2017-01-26 00:49:32 UTC
+--- ui/message_center/views/message_center_button_bar.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/message_center/views/message_center_button_bar.cc
@@ -95,7 +95,7 @@ MessageCenterButtonBar::MessageCenterBut
const base::string16& title)
@@ -36,7 +36,7 @@
layout->AddView(close_bubble_button_);
#endif
}
-@@ -297,7 +297,7 @@ void MessageCenterButtonBar::ButtonPress
+@@ -316,7 +316,7 @@ void MessageCenterButtonBar::ButtonPress
else
message_center()->EnterQuietModeWithExpire(base::TimeDelta::FromDays(1));
quiet_mode_button_->SetToggled(message_center()->IsQuietMode());
diff --git a/www/chromium/files/patch-ui_message__center_views_message__center__button__bar.h b/www/chromium/files/patch-ui_message__center_views_message__center__button__bar.h
index 075d012..35f4a1a 100644
--- a/www/chromium/files/patch-ui_message__center_views_message__center__button__bar.h
+++ b/www/chromium/files/patch-ui_message__center_views_message__center__button__bar.h
@@ -1,6 +1,6 @@
---- ui/message_center/views/message_center_button_bar.h.orig 2017-01-26 00:49:32 UTC
+--- ui/message_center/views/message_center_button_bar.h.orig 2017-04-19 19:06:54 UTC
+++ ui/message_center/views/message_center_button_bar.h
-@@ -74,7 +74,7 @@ class MessageCenterButtonBar : public vi
+@@ -78,7 +78,7 @@ class MessageCenterButtonBar : public vi
// close-on-deactivation is off. This is a tentative solution. Once pkotwicz
// Fixes the problem of focus-follow-mouse, close-on-deactivation will be
// back and this field will be removed. See crbug.com/319516.
diff --git a/www/chromium/files/patch-ui_message__center_views_message__view__factory.cc b/www/chromium/files/patch-ui_message__center_views_message__view__factory.cc
index 4c36579..e0b64bb 100644
--- a/www/chromium/files/patch-ui_message__center_views_message__view__factory.cc
+++ b/www/chromium/files/patch-ui_message__center_views_message__view__factory.cc
@@ -1,4 +1,4 @@
---- ui/message_center/views/message_view_factory.cc.orig 2017-03-09 20:04:49 UTC
+--- ui/message_center/views/message_view_factory.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/message_center/views/message_view_factory.cc
@@ -43,7 +43,7 @@ MessageView* MessageViewFactory::Create(
notification_view = new NotificationView(controller, notification);
diff --git a/www/chromium/files/patch-ui_message__center_views_toast__contents__view.cc b/www/chromium/files/patch-ui_message__center_views_toast__contents__view.cc
index 2343ffa..04e0e58 100644
--- a/www/chromium/files/patch-ui_message__center_views_toast__contents__view.cc
+++ b/www/chromium/files/patch-ui_message__center_views_toast__contents__view.cc
@@ -1,6 +1,6 @@
---- ui/message_center/views/toast_contents_view.cc.orig 2017-02-02 02:03:13 UTC
+--- ui/message_center/views/toast_contents_view.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/message_center/views/toast_contents_view.cc
-@@ -361,7 +361,7 @@ void ToastContentsView::CreateWidget(
+@@ -388,7 +388,7 @@ void ToastContentsView::CreateWidget(
PopupAlignmentDelegate* alignment_delegate) {
views::Widget::InitParams params(views::Widget::InitParams::TYPE_POPUP);
params.keep_on_top = true;
diff --git a/www/chromium/files/patch-ui_resources_ui__resources.grd b/www/chromium/files/patch-ui_resources_ui__resources.grd
index 7136628..ea1581f 100644
--- a/www/chromium/files/patch-ui_resources_ui__resources.grd
+++ b/www/chromium/files/patch-ui_resources_ui__resources.grd
@@ -1,4 +1,4 @@
---- ui/resources/ui_resources.grd.orig 2017-01-26 00:49:32 UTC
+--- ui/resources/ui_resources.grd.orig 2017-04-19 19:06:54 UTC
+++ ui/resources/ui_resources.grd
@@ -15,7 +15,7 @@
<!-- KEEP THESE IN ALPHABETICAL ORDER! DO NOT ADD TO RANDOM PLACES JUST
diff --git a/www/chromium/files/patch-ui_views_BUILD.gn b/www/chromium/files/patch-ui_views_BUILD.gn
index bf91543..e1e373e 100644
--- a/www/chromium/files/patch-ui_views_BUILD.gn
+++ b/www/chromium/files/patch-ui_views_BUILD.gn
@@ -1,6 +1,6 @@
---- ui/views/BUILD.gn.orig 2017-03-09 20:04:49 UTC
+--- ui/views/BUILD.gn.orig 2017-04-19 19:06:54 UTC
+++ ui/views/BUILD.gn
-@@ -430,7 +430,7 @@ component("views") {
+@@ -457,7 +457,7 @@ component("views") {
if (use_x11 && !is_chromeos) {
deps += [ "//ui/display/util" ]
}
@@ -9,7 +9,7 @@
sources -= [ "window/window_button_order_provider.cc" ]
deps += [ "//ui/shell_dialogs" ]
} else {
-@@ -618,7 +618,7 @@ component("views") {
+@@ -645,7 +645,7 @@ component("views") {
"widget/desktop_aura/desktop_window_tree_host_ozone.cc",
]
}
diff --git a/www/chromium/files/patch-ui_views_accessibility_native__view__accessibility.h b/www/chromium/files/patch-ui_views_accessibility_native__view__accessibility.h
index 931dadc..42a38a5 100644
--- a/www/chromium/files/patch-ui_views_accessibility_native__view__accessibility.h
+++ b/www/chromium/files/patch-ui_views_accessibility_native__view__accessibility.h
@@ -1,6 +1,6 @@
---- ui/views/accessibility/native_view_accessibility.h.orig 2017-03-09 20:04:49 UTC
+--- ui/views/accessibility/native_view_accessibility.h.orig 2017-04-19 19:06:54 UTC
+++ ui/views/accessibility/native_view_accessibility.h
-@@ -23,7 +23,7 @@
+@@ -27,7 +27,7 @@
#define PLATFORM_HAS_NATIVE_VIEW_ACCESSIBILITY_IMPL 1
#endif
diff --git a/www/chromium/files/patch-ui_views_bubble_bubble__dialog__delegate.cc b/www/chromium/files/patch-ui_views_bubble_bubble__dialog__delegate.cc
index 9d021b8..c0c37f6 100644
--- a/www/chromium/files/patch-ui_views_bubble_bubble__dialog__delegate.cc
+++ b/www/chromium/files/patch-ui_views_bubble_bubble__dialog__delegate.cc
@@ -1,4 +1,4 @@
---- ui/views/bubble/bubble_dialog_delegate.cc.orig 2017-03-09 20:04:49 UTC
+--- ui/views/bubble/bubble_dialog_delegate.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/views/bubble/bubble_dialog_delegate.cc
@@ -76,7 +76,7 @@ Widget* BubbleDialogDelegateView::Create
// the parent frame and let DWM handle compositing. If not, then we don't
diff --git a/www/chromium/files/patch-ui_views_controls_label.cc b/www/chromium/files/patch-ui_views_controls_label.cc
index a8e2477..47a6cd8 100644
--- a/www/chromium/files/patch-ui_views_controls_label.cc
+++ b/www/chromium/files/patch-ui_views_controls_label.cc
@@ -1,15 +1,15 @@
---- ui/views/controls/label.cc.orig 2017-03-09 20:04:49 UTC
+--- ui/views/controls/label.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/views/controls/label.cc
-@@ -521,7 +521,7 @@ bool Label::OnMousePressed(const ui::Mou
+@@ -549,7 +549,7 @@ bool Label::OnMousePressed(const ui::Mou
GetFocusManager()->SetFocusedView(this);
}
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
- if (event.IsOnlyMiddleMouseButton() && GetFocusManager())
+ if (event.IsOnlyMiddleMouseButton() && GetFocusManager() && !had_focus)
GetFocusManager()->SetFocusedView(this);
#endif
-@@ -685,7 +685,7 @@ bool Label::PasteSelectionClipboard() {
+@@ -725,7 +725,7 @@ bool Label::PasteSelectionClipboard() {
}
void Label::UpdateSelectionClipboard() {
diff --git a/www/chromium/files/patch-ui_views_controls_textfield_textfield.cc b/www/chromium/files/patch-ui_views_controls_textfield_textfield.cc
index 20dca0f..675e3c0 100644
--- a/www/chromium/files/patch-ui_views_controls_textfield_textfield.cc
+++ b/www/chromium/files/patch-ui_views_controls_textfield_textfield.cc
@@ -1,4 +1,4 @@
---- ui/views/controls/textfield/textfield.cc.orig 2017-03-09 20:04:49 UTC
+--- ui/views/controls/textfield/textfield.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/views/controls/textfield/textfield.cc
@@ -54,7 +54,7 @@
#include "ui/base/win/osk_display_manager.h"
@@ -26,16 +26,16 @@
// Only erase by line break on Linux and ChromeOS.
if (shift && control)
return ui::TextEditCommand::DELETE_TO_END_OF_LINE;
-@@ -582,7 +582,7 @@ bool Textfield::OnMousePressed(const ui:
+@@ -606,7 +606,7 @@ bool Textfield::OnMousePressed(const ui:
ShowImeIfNeeded();
}
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
- if (!handled && !HasFocus() && event.IsOnlyMiddleMouseButton())
+ if (!handled && !had_focus && event.IsOnlyMiddleMouseButton())
RequestFocus();
#endif
-@@ -619,7 +619,7 @@ bool Textfield::OnKeyPressed(const ui::K
+@@ -645,7 +645,7 @@ bool Textfield::OnKeyPressed(const ui::K
if (!textfield)
return handled;
@@ -44,7 +44,7 @@
ui::TextEditKeyBindingsDelegateAuraLinux* delegate =
ui::GetTextEditKeyBindingsDelegate();
std::vector<ui::TextEditCommandAuraLinux> commands;
-@@ -759,7 +759,7 @@ void Textfield::AboutToRequestFocusFromT
+@@ -785,7 +785,7 @@ void Textfield::AboutToRequestFocusFromT
}
bool Textfield::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) {
@@ -53,16 +53,16 @@
// Skip any accelerator handling that conflicts with custom keybindings.
ui::TextEditKeyBindingsDelegateAuraLinux* delegate =
ui::GetTextEditKeyBindingsDelegate();
-@@ -1041,7 +1041,7 @@ void Textfield::WriteDragDataForView(Vie
- std::unique_ptr<gfx::Canvas> canvas(
- GetCanvasForDragImage(GetWidget(), label.size()));
- label.SetEnabledColor(GetTextColor());
+@@ -1076,7 +1076,7 @@ void Textfield::WriteDragDataForView(Vie
+
+ SkBitmap bitmap;
+ float raster_scale = ScaleFactorForDragFromWidget(GetWidget());
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
// Desktop Linux Aura does not yet support transparency in drag images.
- canvas->DrawColor(GetBackgroundColor());
- #endif
-@@ -1833,7 +1833,7 @@ bool Textfield::PasteSelectionClipboard(
+ SkColor color = GetBackgroundColor();
+ #else
+@@ -1873,7 +1873,7 @@ bool Textfield::PasteSelectionClipboard(
}
void Textfield::UpdateSelectionClipboard() {
diff --git a/www/chromium/files/patch-ui_views_controls_webview_BUILD.gn b/www/chromium/files/patch-ui_views_controls_webview_BUILD.gn
index 3551648..10c48d7 100644
--- a/www/chromium/files/patch-ui_views_controls_webview_BUILD.gn
+++ b/www/chromium/files/patch-ui_views_controls_webview_BUILD.gn
@@ -1,4 +1,4 @@
---- ui/views/controls/webview/BUILD.gn.orig 2017-01-26 00:49:32 UTC
+--- ui/views/controls/webview/BUILD.gn.orig 2017-04-19 19:06:54 UTC
+++ ui/views/controls/webview/BUILD.gn
@@ -39,7 +39,7 @@ component("webview") {
"//ui/views",
diff --git a/www/chromium/files/patch-ui_views_corewm_tooltip__aura.cc b/www/chromium/files/patch-ui_views_corewm_tooltip__aura.cc
index 706a541..8dc832a 100644
--- a/www/chromium/files/patch-ui_views_corewm_tooltip__aura.cc
+++ b/www/chromium/files/patch-ui_views_corewm_tooltip__aura.cc
@@ -1,4 +1,4 @@
---- ui/views/corewm/tooltip_aura.cc.orig 2017-01-26 00:49:32 UTC
+--- ui/views/corewm/tooltip_aura.cc.orig 2017-04-19 19:06:54 UTC
+++ ui/views/corewm/tooltip_aura.cc
@@ -34,7 +34,7 @@ const int kCursorOffsetY = 15;
diff --git a/www/chromium/files/patch-ui_views_examples_widget__example.cc b/www/chromium/files/patch-ui_views_examples_widget__example.cc
index f44d9ec..570aa28 100644
--- a/www/chromium/files/patch-ui_views_examples_widget__example.cc
+++ b/www/chromium/files/patch-ui_views_examples_widget__example.cc
@@ -1,4 +1,4 @@
---- ui/views/examples/widget_example.cc.orig 2017-01-26 00:49:32 UTC
+--- ui/views/examples/widget_example.cc.orig 2017-04-19 19:06:55 UTC
+++ ui/views/examples/widget_example.cc
@@ -77,7 +77,7 @@ void WidgetExample::CreateExampleView(Vi
BuildButton(container, "Popup widget", POPUP);
diff --git a/www/chromium/files/patch-ui_views_mus_BUILD.gn b/www/chromium/files/patch-ui_views_mus_BUILD.gn
index fdc733c..0b108f5 100644
--- a/www/chromium/files/patch-ui_views_mus_BUILD.gn
+++ b/www/chromium/files/patch-ui_views_mus_BUILD.gn
@@ -1,6 +1,6 @@
---- ui/views/mus/BUILD.gn.orig 2017-03-09 20:04:49 UTC
+--- ui/views/mus/BUILD.gn.orig 2017-04-19 19:06:55 UTC
+++ ui/views/mus/BUILD.gn
-@@ -78,7 +78,7 @@ component("mus") {
+@@ -79,7 +79,7 @@ component("mus") {
"//ui/wm",
]
diff --git a/www/chromium/files/patch-ui_views_mus_aura__init.cc b/www/chromium/files/patch-ui_views_mus_aura__init.cc
index 48f8aa7..a6f0483 100644
--- a/www/chromium/files/patch-ui_views_mus_aura__init.cc
+++ b/www/chromium/files/patch-ui_views_mus_aura__init.cc
@@ -1,4 +1,4 @@
---- ui/views/mus/aura_init.cc.orig 2017-03-09 20:04:49 UTC
+--- ui/views/mus/aura_init.cc.orig 2017-04-19 19:06:55 UTC
+++ ui/views/mus/aura_init.cc
@@ -22,7 +22,7 @@
#include "ui/views/mus/mus_client.h"
diff --git a/www/chromium/files/patch-ui_views_mus_aura__init.h b/www/chromium/files/patch-ui_views_mus_aura__init.h
index 85eac9c..dd1450cd 100644
--- a/www/chromium/files/patch-ui_views_mus_aura__init.h
+++ b/www/chromium/files/patch-ui_views_mus_aura__init.h
@@ -1,4 +1,4 @@
---- ui/views/mus/aura_init.h.orig 2017-03-09 20:04:49 UTC
+--- ui/views/mus/aura_init.h.orig 2017-04-19 19:06:55 UTC
+++ ui/views/mus/aura_init.h
@@ -68,7 +68,7 @@ class VIEWS_MUS_EXPORT AuraInit {
private:
diff --git a/www/chromium/files/patch-ui_views_selection__controller.cc b/www/chromium/files/patch-ui_views_selection__controller.cc
index 30b07ec..0857239 100644
--- a/www/chromium/files/patch-ui_views_selection__controller.cc
+++ b/www/chromium/files/patch-ui_views_selection__controller.cc
@@ -1,4 +1,4 @@
---- ui/views/selection_controller.cc.orig 2017-01-26 00:49:32 UTC
+--- ui/views/selection_controller.cc.orig 2017-04-19 19:06:55 UTC
+++ ui/views/selection_controller.cc
@@ -20,7 +20,7 @@ SelectionController::SelectionController
delegate_(delegate),
diff --git a/www/chromium/files/patch-ui_views_style_platform__style.cc b/www/chromium/files/patch-ui_views_style_platform__style.cc
index 9a83d56..54a11c5 100644
--- a/www/chromium/files/patch-ui_views_style_platform__style.cc
+++ b/www/chromium/files/patch-ui_views_style_platform__style.cc
@@ -1,4 +1,4 @@
---- ui/views/style/platform_style.cc.orig 2017-03-09 20:04:49 UTC
+--- ui/views/style/platform_style.cc.orig 2017-04-19 19:06:55 UTC
+++ ui/views/style/platform_style.cc
@@ -19,7 +19,7 @@
diff --git a/www/chromium/files/patch-ui_views_views__delegate.cc b/www/chromium/files/patch-ui_views_views__delegate.cc
index 6c1dda7..d9ce07c 100644
--- a/www/chromium/files/patch-ui_views_views__delegate.cc
+++ b/www/chromium/files/patch-ui_views_views__delegate.cc
@@ -1,4 +1,4 @@
---- ui/views/views_delegate.cc.orig 2017-01-26 00:49:32 UTC
+--- ui/views/views_delegate.cc.orig 2017-04-19 19:06:55 UTC
+++ ui/views/views_delegate.cc
@@ -71,7 +71,7 @@ HICON ViewsDelegate::GetDefaultWindowIco
bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow window) const {
diff --git a/www/chromium/files/patch-ui_views_views__delegate.h b/www/chromium/files/patch-ui_views_views__delegate.h
index 7e21c3a..01a5548 100644
--- a/www/chromium/files/patch-ui_views_views__delegate.h
+++ b/www/chromium/files/patch-ui_views_views__delegate.h
@@ -1,4 +1,4 @@
---- ui/views/views_delegate.h.orig 2017-01-26 00:49:32 UTC
+--- ui/views/views_delegate.h.orig 2017-04-19 19:06:55 UTC
+++ ui/views/views_delegate.h
@@ -141,7 +141,7 @@ class VIEWS_EXPORT ViewsDelegate {
// Returns true if the window passed in is in the Windows 8 metro
diff --git a/www/chromium/files/patch-ui_views_views__switches.cc b/www/chromium/files/patch-ui_views_views__switches.cc
index 26d5584..fecb628 100644
--- a/www/chromium/files/patch-ui_views_views__switches.cc
+++ b/www/chromium/files/patch-ui_views_views__switches.cc
@@ -1,4 +1,4 @@
---- ui/views/views_switches.cc.orig 2017-01-26 00:49:32 UTC
+--- ui/views/views_switches.cc.orig 2017-04-19 19:06:55 UTC
+++ ui/views/views_switches.cc
@@ -18,7 +18,7 @@ const char kDisableViewsRectBasedTargeti
"disable-views-rect-based-targeting";
diff --git a/www/chromium/files/patch-ui_views_window_custom__frame__view.cc b/www/chromium/files/patch-ui_views_window_custom__frame__view.cc
index 82b14bf..76e8b97 100644
--- a/www/chromium/files/patch-ui_views_window_custom__frame__view.cc
+++ b/www/chromium/files/patch-ui_views_window_custom__frame__view.cc
@@ -1,6 +1,6 @@
---- ui/views/window/custom_frame_view.cc.orig 2017-03-09 20:04:49 UTC
+--- ui/views/window/custom_frame_view.cc.orig 2017-04-19 19:06:55 UTC
+++ ui/views/window/custom_frame_view.cc
-@@ -294,7 +294,7 @@ int CustomFrameView::NonClientTopBorderH
+@@ -302,7 +302,7 @@ int CustomFrameView::NonClientTopBorderH
int CustomFrameView::CaptionButtonY() const {
// Maximized buttons start at window top so that even if their images aren't
// drawn flush with the screen edge, they still obey Fitts' Law.
diff --git a/www/chromium/files/patch-ui_views_window_dialog__delegate.cc b/www/chromium/files/patch-ui_views_window_dialog__delegate.cc
index 5b104ff..75ec2f4 100644
--- a/www/chromium/files/patch-ui_views_window_dialog__delegate.cc
+++ b/www/chromium/files/patch-ui_views_window_dialog__delegate.cc
@@ -1,4 +1,4 @@
---- ui/views/window/dialog_delegate.cc.orig 2017-03-09 20:04:49 UTC
+--- ui/views/window/dialog_delegate.cc.orig 2017-04-19 19:06:55 UTC
+++ ui/views/window/dialog_delegate.cc
@@ -57,7 +57,7 @@ Widget::InitParams DialogDelegate::GetDi
params.bounds = bounds;
diff --git a/www/chromium/files/patch-ui_webui_resources_js_cr.js b/www/chromium/files/patch-ui_webui_resources_js_cr.js
index ed65d76..73a2958 100644
--- a/www/chromium/files/patch-ui_webui_resources_js_cr.js
+++ b/www/chromium/files/patch-ui_webui_resources_js_cr.js
@@ -1,4 +1,4 @@
---- ui/webui/resources/js/cr.js.orig 2017-01-26 00:49:32 UTC
+--- ui/webui/resources/js/cr.js.orig 2017-04-19 19:06:55 UTC
+++ ui/webui/resources/js/cr.js
@@ -451,6 +451,11 @@ var cr = cr || function() {
get doc() {
diff --git a/www/chromium/files/patch-ui_webui_resources_js_icon.js b/www/chromium/files/patch-ui_webui_resources_js_icon.js
index 36883c0..7cd4923 100644
--- a/www/chromium/files/patch-ui_webui_resources_js_icon.js
+++ b/www/chromium/files/patch-ui_webui_resources_js_icon.js
@@ -1,4 +1,4 @@
---- ui/webui/resources/js/icon.js.orig 2017-01-26 00:49:32 UTC
+--- ui/webui/resources/js/icon.js.orig 2017-04-19 19:06:55 UTC
+++ ui/webui/resources/js/icon.js
@@ -14,7 +14,7 @@ cr.define('cr.icon', function() {
// supports SCALE_FACTOR_100P on all non-iOS platforms.
diff --git a/www/chromium/files/patch-v8_BUILD.gn b/www/chromium/files/patch-v8_BUILD.gn
index 5388ea4..fdc21e5 100644
--- a/www/chromium/files/patch-v8_BUILD.gn
+++ b/www/chromium/files/patch-v8_BUILD.gn
@@ -1,6 +1,6 @@
---- v8/BUILD.gn.orig 2017-03-09 20:05:30 UTC
+--- v8/BUILD.gn.orig 2017-04-19 19:07:57 UTC
+++ v8/BUILD.gn
-@@ -2315,7 +2315,7 @@ v8_component("v8_libbase") {
+@@ -2336,7 +2336,7 @@ v8_component("v8_libbase") {
sources += [ "src/base/platform/platform-posix.cc" ]
}
@@ -9,7 +9,7 @@
sources += [
"src/base/debug/stack_trace_posix.cc",
"src/base/platform/platform-linux.cc",
-@@ -2325,6 +2325,12 @@ v8_component("v8_libbase") {
+@@ -2346,6 +2346,12 @@ v8_component("v8_libbase") {
"dl",
"rt",
]
@@ -22,7 +22,7 @@
} else if (is_android) {
if (current_toolchain == host_toolchain) {
libs = [
-@@ -2458,6 +2464,7 @@ if (current_toolchain == v8_snapshot_too
+@@ -2479,6 +2485,7 @@ if (current_toolchain == v8_snapshot_too
sources = [
"src/snapshot/mksnapshot.cc",
]
diff --git a/www/chromium/files/patch-v8_src_base_platform_platform-posix.cc b/www/chromium/files/patch-v8_src_base_platform_platform-posix.cc
index a32e2fb..cdef6c4 100644
--- a/www/chromium/files/patch-v8_src_base_platform_platform-posix.cc
+++ b/www/chromium/files/patch-v8_src_base_platform_platform-posix.cc
@@ -1,4 +1,4 @@
---- v8/src/base/platform/platform-posix.cc.orig 2017-03-09 20:05:30 UTC
+--- v8/src/base/platform/platform-posix.cc.orig 2017-04-19 19:07:57 UTC
+++ v8/src/base/platform/platform-posix.cc
@@ -27,6 +27,10 @@
#include <sys/sysctl.h> // NOLINT, for sysctl
diff --git a/www/chromium/files/patch-v8_src_globals.h b/www/chromium/files/patch-v8_src_globals.h
index 407f2dc..54aac95 100644
--- a/www/chromium/files/patch-v8_src_globals.h
+++ b/www/chromium/files/patch-v8_src_globals.h
@@ -1,4 +1,4 @@
---- v8/src/globals.h.orig 2017-03-09 20:05:30 UTC
+--- v8/src/globals.h.orig 2017-04-19 19:07:57 UTC
+++ v8/src/globals.h
@@ -183,7 +183,11 @@ const size_t kCodeRangeAreaAlignment = 2
const size_t kMaximalCodeRangeSize = 512 * MB;
diff --git a/www/chromium/pkg-plist b/www/chromium/pkg-plist
index 2e4cfd8..3907dfb 100644
--- a/www/chromium/pkg-plist
+++ b/www/chromium/pkg-plist
@@ -74,7 +74,10 @@ share/applications/chromium-browser.desktop
%%DATADIR%%/resources/inspector/Images/accelerometer-left.png
%%DATADIR%%/resources/inspector/Images/accelerometer-right.png
%%DATADIR%%/resources/inspector/Images/accelerometer-top.png
-%%DATADIR%%/resources/inspector/Images/applicationCache.png
+%%DATADIR%%/resources/inspector/Images/audits_logo.png
+%%DATADIR%%/resources/inspector/Images/audits_logo_2x.png
+%%DATADIR%%/resources/inspector/Images/audits_logo_bw.png
+%%DATADIR%%/resources/inspector/Images/audits_logo_bw_2x.png
%%DATADIR%%/resources/inspector/Images/breakpoint.png
%%DATADIR%%/resources/inspector/Images/breakpointConditional.png
%%DATADIR%%/resources/inspector/Images/breakpointConditional_2x.png
@@ -88,19 +91,12 @@ share/applications/chromium-browser.desktop
%%DATADIR%%/resources/inspector/Images/chromeSelect.png
%%DATADIR%%/resources/inspector/Images/chromeSelect_2x.png
%%DATADIR%%/resources/inspector/Images/deleteIcon.png
-%%DATADIR%%/resources/inspector/Images/domain.png
%%DATADIR%%/resources/inspector/Images/errorWave.png
%%DATADIR%%/resources/inspector/Images/errorWave_2x.png
-%%DATADIR%%/resources/inspector/Images/fileSystem.png
-%%DATADIR%%/resources/inspector/Images/forward.png
-%%DATADIR%%/resources/inspector/Images/frame.png
%%DATADIR%%/resources/inspector/Images/ic_info_black_18dp.svg
%%DATADIR%%/resources/inspector/Images/ic_warning_black_18dp.svg
%%DATADIR%%/resources/inspector/Images/navigationControls.png
%%DATADIR%%/resources/inspector/Images/navigationControls_2x.png
-%%DATADIR%%/resources/inspector/Images/paneAddButtons.png
-%%DATADIR%%/resources/inspector/Images/paneFilterButtons.png
-%%DATADIR%%/resources/inspector/Images/paneRefreshButtons.png
%%DATADIR%%/resources/inspector/Images/popoverArrows.png
%%DATADIR%%/resources/inspector/Images/profileGroupIcon.png
%%DATADIR%%/resources/inspector/Images/profileIcon.png
@@ -125,23 +121,23 @@ share/applications/chromium-browser.desktop
%%DATADIR%%/resources/inspector/Images/searchPrev.png
%%DATADIR%%/resources/inspector/Images/securityIcons.png
%%DATADIR%%/resources/inspector/Images/securityIcons_2x.png
-%%DATADIR%%/resources/inspector/Images/settingsListRemove.png
-%%DATADIR%%/resources/inspector/Images/settingsListRemove_2x.png
%%DATADIR%%/resources/inspector/Images/smallIcons.png
%%DATADIR%%/resources/inspector/Images/smallIcons_2x.png
%%DATADIR%%/resources/inspector/Images/speech.png
%%DATADIR%%/resources/inspector/Images/toolbarButtonGlyphs.png
%%DATADIR%%/resources/inspector/Images/toolbarButtonGlyphs_2x.png
-%%DATADIR%%/resources/inspector/Images/toolbarItemSelected.png
-%%DATADIR%%/resources/inspector/Images/toolbarResizerHorizontal.png
%%DATADIR%%/resources/inspector/Images/toolbarResizerVertical.png
%%DATADIR%%/resources/inspector/Images/touchCursor.png
%%DATADIR%%/resources/inspector/Images/touchCursor_2x.png
+%%DATADIR%%/resources/inspector/Images/treeoutlineTriangles.png
+%%DATADIR%%/resources/inspector/Images/treeoutlineTriangles_2x.png
%%DATADIR%%/resources/inspector/InspectorBackendCommands.js
%%DATADIR%%/resources/inspector/SupportedCSSProperties.js
%%DATADIR%%/resources/inspector/Tests.js
%%DATADIR%%/resources/inspector/accessibility/accessibility_module.js
%%DATADIR%%/resources/inspector/animation/animation_module.js
+%%DATADIR%%/resources/inspector/audits2_worker.js
+%%DATADIR%%/resources/inspector/audits2_worker/audits2_worker_module.js
%%DATADIR%%/resources/inspector/audits/audits_module.js
%%DATADIR%%/resources/inspector/audits2/audits2_module.js
%%DATADIR%%/resources/inspector/cm/cm_module.js
@@ -149,7 +145,7 @@ share/applications/chromium-browser.desktop
%%DATADIR%%/resources/inspector/color_picker/color_picker_module.js
%%DATADIR%%/resources/inspector/console/console_module.js
%%DATADIR%%/resources/inspector/cookie_table/cookie_table_module.js
-%%DATADIR%%/resources/inspector/css_tracker/css_tracker_module.js
+%%DATADIR%%/resources/inspector/coverage/coverage_module.js
%%DATADIR%%/resources/inspector/data_grid/data_grid_module.js
%%DATADIR%%/resources/inspector/devices/devices_module.js
%%DATADIR%%/resources/inspector/devtools_compatibility.js
@@ -193,6 +189,7 @@ share/applications/chromium-browser.desktop
%%DATADIR%%/resources/inspector/emulated_devices/iPhone6-portrait.svg
%%DATADIR%%/resources/inspector/emulated_devices/iPhone6Plus-landscape.svg
%%DATADIR%%/resources/inspector/emulated_devices/iPhone6Plus-portrait.svg
+%%DATADIR%%/resources/inspector/event_listeners/event_listeners_module.js
%%DATADIR%%/resources/inspector/formatter_worker.js
%%DATADIR%%/resources/inspector/gonzales/gonzales_module.js
%%DATADIR%%/resources/inspector/heap_snapshot_model/heap_snapshot_model_module.js
@@ -203,7 +200,9 @@ share/applications/chromium-browser.desktop
%%DATADIR%%/resources/inspector/layer_viewer/layer_viewer_module.js
%%DATADIR%%/resources/inspector/layers/layers_module.js
%%DATADIR%%/resources/inspector/network/network_module.js
+%%DATADIR%%/resources/inspector/network_group_lookup/network_group_lookup_module.js
%%DATADIR%%/resources/inspector/perf_ui/perf_ui_module.js
+%%DATADIR%%/resources/inspector/product_registry/product_registry_module.js
%%DATADIR%%/resources/inspector/profiler/profiler_module.js
%%DATADIR%%/resources/inspector/quick_open/quick_open_module.js
%%DATADIR%%/resources/inspector/resources/resources_module.js
diff --git a/www/firefox-esr/files/patch-bug1359051 b/www/firefox-esr/files/patch-bug1359051
new file mode 100644
index 0000000..b4da1ca
--- /dev/null
+++ b/www/firefox-esr/files/patch-bug1359051
@@ -0,0 +1,31 @@
+commit fe7592e16fcc
+Author: Sean Stangl <sstangl@mozilla.com>
+Date: Mon Apr 24 07:10:58 2017 -0700
+
+ Bug 1359051 - Define cacheFlush for non-Simulator ARM64 builds. r=tcampbell
+---
+ js/src/jit/ExecutableAllocator.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git js/src/jit/ExecutableAllocator.h js/src/jit/ExecutableAllocator.h
+index 3a42918142ef..570a25ff0dc3 100644
+--- js/src/jit/ExecutableAllocator.h
++++ js/src/jit/ExecutableAllocator.h
+@@ -259,7 +259,7 @@ class ExecutableAllocator
+ {
+ __clear_cache(code, reinterpret_cast<char*>(code) + size);
+ }
+-#elif defined(JS_CODEGEN_ARM) && defined(XP_IOS)
++#elif (defined(JS_CODEGEN_ARM) || defined(JS_CODEGEN_ARM64)) && defined(XP_IOS)
+ static void cacheFlush(void* code, size_t size)
+ {
+ sys_icache_invalidate(code, size);
+@@ -297,7 +297,7 @@ class ExecutableAllocator
+ : "r0", "r1", "r2");
+ }
+ }
+-#elif defined(JS_CODEGEN_ARM64) && (defined(__linux__) || defined(ANDROID)) && defined(__GNUC__)
++#elif defined(JS_CODEGEN_ARM64)
+ static void cacheFlush(void* code, size_t size)
+ {
+ __clear_cache(code, (void *)((size_t)code + size));
diff --git a/www/firefox-esr/files/patch-bug1359142 b/www/firefox-esr/files/patch-bug1359142
new file mode 100644
index 0000000..b7998c5
--- /dev/null
+++ b/www/firefox-esr/files/patch-bug1359142
@@ -0,0 +1,57 @@
+Define EPC_sig and RFP_sig for JS_CODEGEN_(ARM64|MIPS) on BSDs
+
+diff --git js/src/wasm/WasmSignalHandlers.cpp js/src/wasm/WasmSignalHandlers.cpp
+index 1ab76eeb4bd9..bcdff0487837 100644
+--- js/src/wasm/WasmSignalHandlers.cpp
++++ js/src/wasm/WasmSignalHandlers.cpp
+@@ -108,7 +108,19 @@ class AutoSetHandlingSegFault
+ # define R12_sig(p) ((p)->sc_r12)
+ # define R13_sig(p) ((p)->sc_r13)
+ # define R14_sig(p) ((p)->sc_r14)
+-# define R15_sig(p) ((p)->sc_r15)
++# if defined(__arm__)
++# define R15_sig(p) ((p)->sc_pc)
++# else
++# define R15_sig(p) ((p)->sc_r15)
++# endif
++# if defined(__aarch64__)
++# define EPC_sig(p) ((p)->sc_elr)
++# define RFP_sig(p) ((p)->sc_x[29])
++# endif
++# if defined(__mips__)
++# define EPC_sig(p) ((p)->sc_pc)
++# define RFP_sig(p) ((p)->sc_regs[30])
++# endif
+ #elif defined(__linux__) || defined(SOLARIS)
+ # if defined(__linux__)
+ # define XMM_sig(p,i) ((p)->uc_mcontext.fpregs->_xmm[i])
+@@ -171,6 +183,14 @@ class AutoSetHandlingSegFault
+ # define R13_sig(p) ((p)->uc_mcontext.__gregs[_REG_R13])
+ # define R14_sig(p) ((p)->uc_mcontext.__gregs[_REG_R14])
+ # define R15_sig(p) ((p)->uc_mcontext.__gregs[_REG_R15])
++# if defined(__aarch64__)
++# define EPC_sig(p) ((p)->uc_mcontext.__gregs[_REG_PC])
++# define RFP_sig(p) ((p)->uc_mcontext.__gregs[_REG_X29])
++# endif
++# if defined(__mips__)
++# define EPC_sig(p) ((p)->uc_mcontext.__gregs[_REG_EPC])
++# define RFP_sig(p) ((p)->uc_mcontext.__gregs[_REG_S8])
++# endif
+ #elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ # if defined(__DragonFly__)
+ # define XMM_sig(p,i) (((union savefpu*)(p)->uc_mcontext.mc_fpregs)->sv_xmm.sv_xmm[i])
+@@ -200,6 +220,14 @@ class AutoSetHandlingSegFault
+ # else
+ # define R15_sig(p) ((p)->uc_mcontext.mc_r15)
+ # endif
++# if defined(__FreeBSD__) && defined(__aarch64__)
++# define EPC_sig(p) ((p)->uc_mcontext.mc_gpregs.gp_elr)
++# define RFP_sig(p) ((p)->uc_mcontext.mc_gpregs.gp_x[29])
++# endif
++# if defined(__FreeBSD__) && defined(__mips__)
++# define EPC_sig(p) ((p)->uc_mcontext.mc_pc)
++# define RFP_sig(p) ((p)->uc_mcontext.mc_regs[30])
++# endif
+ #elif defined(XP_DARWIN)
+ # define EIP_sig(p) ((p)->uc_mcontext->__ss.__eip)
+ # define EBP_sig(p) ((p)->uc_mcontext->__ss.__ebp)
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 596737f..8b731a5 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -4,7 +4,7 @@
PORTNAME= firefox
DISTVERSION= 53.0
DISTVERSIONSUFFIX=.source
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
diff --git a/www/firefox/files/patch-bug1359051 b/www/firefox/files/patch-bug1359051
new file mode 100644
index 0000000..a9268b3
--- /dev/null
+++ b/www/firefox/files/patch-bug1359051
@@ -0,0 +1,31 @@
+commit fe7592e16fcc
+Author: Sean Stangl <sstangl@mozilla.com>
+Date: Mon Apr 24 07:10:58 2017 -0700
+
+ Bug 1359051 - Define cacheFlush for non-Simulator ARM64 builds. r=tcampbell
+---
+ js/src/jit/ExecutableAllocator.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git js/src/jit/ExecutableAllocator.h js/src/jit/ExecutableAllocator.h
+index 3a42918142ef..570a25ff0dc3 100644
+--- js/src/jit/ExecutableAllocator.h
++++ js/src/jit/ExecutableAllocator.h
+@@ -259,7 +259,7 @@ class ExecutableAllocator
+ {
+ __clear_cache(code, reinterpret_cast<char*>(code) + size);
+ }
+-#elif defined(JS_CODEGEN_ARM) && defined(XP_IOS)
++#elif (defined(JS_CODEGEN_ARM) || defined(JS_CODEGEN_ARM64)) && defined(XP_IOS)
+ static void cacheFlush(void* code, size_t size)
+ {
+ sys_icache_invalidate(code, size);
+@@ -297,7 +297,7 @@ class ExecutableAllocator
+ : "r0", "r1", "r2");
+ }
+ }
+-#elif defined(JS_CODEGEN_ARM64) && (defined(__linux__) || defined(ANDROID)) && defined(__GNUC__)
++#elif defined(JS_CODEGEN_ARM64)
+ static void cacheFlush(void* code, size_t size)
+ {
+ vixl::CPU::EnsureIAndDCacheCoherency(code, size);
diff --git a/www/firefox/files/patch-bug1359142 b/www/firefox/files/patch-bug1359142
new file mode 100644
index 0000000..b7998c5
--- /dev/null
+++ b/www/firefox/files/patch-bug1359142
@@ -0,0 +1,57 @@
+Define EPC_sig and RFP_sig for JS_CODEGEN_(ARM64|MIPS) on BSDs
+
+diff --git js/src/wasm/WasmSignalHandlers.cpp js/src/wasm/WasmSignalHandlers.cpp
+index 1ab76eeb4bd9..bcdff0487837 100644
+--- js/src/wasm/WasmSignalHandlers.cpp
++++ js/src/wasm/WasmSignalHandlers.cpp
+@@ -108,7 +108,19 @@ class AutoSetHandlingSegFault
+ # define R12_sig(p) ((p)->sc_r12)
+ # define R13_sig(p) ((p)->sc_r13)
+ # define R14_sig(p) ((p)->sc_r14)
+-# define R15_sig(p) ((p)->sc_r15)
++# if defined(__arm__)
++# define R15_sig(p) ((p)->sc_pc)
++# else
++# define R15_sig(p) ((p)->sc_r15)
++# endif
++# if defined(__aarch64__)
++# define EPC_sig(p) ((p)->sc_elr)
++# define RFP_sig(p) ((p)->sc_x[29])
++# endif
++# if defined(__mips__)
++# define EPC_sig(p) ((p)->sc_pc)
++# define RFP_sig(p) ((p)->sc_regs[30])
++# endif
+ #elif defined(__linux__) || defined(SOLARIS)
+ # if defined(__linux__)
+ # define XMM_sig(p,i) ((p)->uc_mcontext.fpregs->_xmm[i])
+@@ -171,6 +183,14 @@ class AutoSetHandlingSegFault
+ # define R13_sig(p) ((p)->uc_mcontext.__gregs[_REG_R13])
+ # define R14_sig(p) ((p)->uc_mcontext.__gregs[_REG_R14])
+ # define R15_sig(p) ((p)->uc_mcontext.__gregs[_REG_R15])
++# if defined(__aarch64__)
++# define EPC_sig(p) ((p)->uc_mcontext.__gregs[_REG_PC])
++# define RFP_sig(p) ((p)->uc_mcontext.__gregs[_REG_X29])
++# endif
++# if defined(__mips__)
++# define EPC_sig(p) ((p)->uc_mcontext.__gregs[_REG_EPC])
++# define RFP_sig(p) ((p)->uc_mcontext.__gregs[_REG_S8])
++# endif
+ #elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ # if defined(__DragonFly__)
+ # define XMM_sig(p,i) (((union savefpu*)(p)->uc_mcontext.mc_fpregs)->sv_xmm.sv_xmm[i])
+@@ -200,6 +220,14 @@ class AutoSetHandlingSegFault
+ # else
+ # define R15_sig(p) ((p)->uc_mcontext.mc_r15)
+ # endif
++# if defined(__FreeBSD__) && defined(__aarch64__)
++# define EPC_sig(p) ((p)->uc_mcontext.mc_gpregs.gp_elr)
++# define RFP_sig(p) ((p)->uc_mcontext.mc_gpregs.gp_x[29])
++# endif
++# if defined(__FreeBSD__) && defined(__mips__)
++# define EPC_sig(p) ((p)->uc_mcontext.mc_pc)
++# define RFP_sig(p) ((p)->uc_mcontext.mc_regs[30])
++# endif
+ #elif defined(XP_DARWIN)
+ # define EIP_sig(p) ((p)->uc_mcontext->__ss.__eip)
+ # define EBP_sig(p) ((p)->uc_mcontext->__ss.__ebp)
diff --git a/www/libxul/files/patch-bug1359142 b/www/libxul/files/patch-bug1359142
new file mode 100644
index 0000000..8c7ab0a
--- /dev/null
+++ b/www/libxul/files/patch-bug1359142
@@ -0,0 +1,57 @@
+Define EPC_sig and RFP_sig for JS_CODEGEN_(ARM64|MIPS) on BSDs
+
+diff --git js/src/wasm/WasmSignalHandlers.cpp js/src/wasm/WasmSignalHandlers.cpp
+index 1ab76eeb4bd9..bcdff0487837 100644
+--- js/src/asmjs/AsmJSSignalHandlers.cpp
++++ js/src/asmjs/AsmJSSignalHandlers.cpp
+@@ -108,7 +108,19 @@ class AutoSetHandlingSegFault
+ # define R12_sig(p) ((p)->sc_r12)
+ # define R13_sig(p) ((p)->sc_r13)
+ # define R14_sig(p) ((p)->sc_r14)
+-# define R15_sig(p) ((p)->sc_r15)
++# if defined(__arm__)
++# define R15_sig(p) ((p)->sc_pc)
++# else
++# define R15_sig(p) ((p)->sc_r15)
++# endif
++# if defined(__aarch64__)
++# define EPC_sig(p) ((p)->sc_elr)
++# define RFP_sig(p) ((p)->sc_x[29])
++# endif
++# if defined(__mips__)
++# define EPC_sig(p) ((p)->sc_pc)
++# define RFP_sig(p) ((p)->sc_regs[30])
++# endif
+ #elif defined(__linux__) || defined(SOLARIS)
+ # if defined(__linux__)
+ # define XMM_sig(p,i) ((p)->uc_mcontext.fpregs->_xmm[i])
+@@ -171,6 +183,14 @@ class AutoSetHandlingSegFault
+ # define R13_sig(p) ((p)->uc_mcontext.__gregs[_REG_R13])
+ # define R14_sig(p) ((p)->uc_mcontext.__gregs[_REG_R14])
+ # define R15_sig(p) ((p)->uc_mcontext.__gregs[_REG_R15])
++# if defined(__aarch64__)
++# define EPC_sig(p) ((p)->uc_mcontext.__gregs[_REG_PC])
++# define RFP_sig(p) ((p)->uc_mcontext.__gregs[_REG_X29])
++# endif
++# if defined(__mips__)
++# define EPC_sig(p) ((p)->uc_mcontext.__gregs[_REG_EPC])
++# define RFP_sig(p) ((p)->uc_mcontext.__gregs[_REG_S8])
++# endif
+ #elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ # if defined(__DragonFly__)
+ # define XMM_sig(p,i) (((union savefpu*)(p)->uc_mcontext.mc_fpregs)->sv_xmm.sv_xmm[i])
+@@ -200,6 +220,14 @@ class AutoSetHandlingSegFault
+ # else
+ # define R15_sig(p) ((p)->uc_mcontext.mc_r15)
+ # endif
++# if defined(__FreeBSD__) && defined(__aarch64__)
++# define EPC_sig(p) ((p)->uc_mcontext.mc_gpregs.gp_elr)
++# define RFP_sig(p) ((p)->uc_mcontext.mc_gpregs.gp_x[29])
++# endif
++# if defined(__FreeBSD__) && defined(__mips__)
++# define EPC_sig(p) ((p)->uc_mcontext.mc_pc)
++# define RFP_sig(p) ((p)->uc_mcontext.mc_regs[30])
++# endif
+ #elif defined(XP_DARWIN)
+ # define EIP_sig(p) ((p)->uc_mcontext->__ss.__eip)
+ # define EBP_sig(p) ((p)->uc_mcontext->__ss.__ebp)
diff --git a/www/py-flexget/Makefile b/www/py-flexget/Makefile
index bdcffd5..15fb6a6 100644
--- a/www/py-flexget/Makefile
+++ b/www/py-flexget/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= flexget
-PORTVERSION= 2.10.35
+PORTVERSION= 2.10.40
PORTEPOCH= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
diff --git a/www/py-flexget/distinfo b/www/py-flexget/distinfo
index 22534ae..cd39895 100644
--- a/www/py-flexget/distinfo
+++ b/www/py-flexget/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1492755289
-SHA256 (FlexGet-2.10.35.tar.gz) = b6fd18fa486968e578ba8ed2abfec6c9b7b220edfd0aa46f71e4824438ffb7f0
-SIZE (FlexGet-2.10.35.tar.gz) = 2677411
+TIMESTAMP = 1493360080
+SHA256 (FlexGet-2.10.40.tar.gz) = 7bafc92c6183963a9a2454f7a22437e4dd2e2b92caa961a8554e1c9e561548b3
+SIZE (FlexGet-2.10.40.tar.gz) = 2654633
diff --git a/www/seamonkey/files/patch-bug1359142 b/www/seamonkey/files/patch-bug1359142
new file mode 100644
index 0000000..6e5fc6e
--- /dev/null
+++ b/www/seamonkey/files/patch-bug1359142
@@ -0,0 +1,57 @@
+Define EPC_sig and RFP_sig for JS_CODEGEN_(ARM64|MIPS) on BSDs
+
+diff --git js/src/wasm/WasmSignalHandlers.cpp js/src/wasm/WasmSignalHandlers.cpp
+index 1ab76eeb4bd9..bcdff0487837 100644
+--- mozilla/js/src/asmjs/WasmSignalHandlers.cpp
++++ mozilla/js/src/asmjs/WasmSignalHandlers.cpp
+@@ -108,7 +108,19 @@ class AutoSetHandlingSegFault
+ # define R12_sig(p) ((p)->sc_r12)
+ # define R13_sig(p) ((p)->sc_r13)
+ # define R14_sig(p) ((p)->sc_r14)
+-# define R15_sig(p) ((p)->sc_r15)
++# if defined(__arm__)
++# define R15_sig(p) ((p)->sc_pc)
++# else
++# define R15_sig(p) ((p)->sc_r15)
++# endif
++# if defined(__aarch64__)
++# define EPC_sig(p) ((p)->sc_elr)
++# define RFP_sig(p) ((p)->sc_x[29])
++# endif
++# if defined(__mips__)
++# define EPC_sig(p) ((p)->sc_pc)
++# define RFP_sig(p) ((p)->sc_regs[30])
++# endif
+ #elif defined(__linux__) || defined(SOLARIS)
+ # if defined(__linux__)
+ # define XMM_sig(p,i) ((p)->uc_mcontext.fpregs->_xmm[i])
+@@ -171,6 +183,14 @@ class AutoSetHandlingSegFault
+ # define R13_sig(p) ((p)->uc_mcontext.__gregs[_REG_R13])
+ # define R14_sig(p) ((p)->uc_mcontext.__gregs[_REG_R14])
+ # define R15_sig(p) ((p)->uc_mcontext.__gregs[_REG_R15])
++# if defined(__aarch64__)
++# define EPC_sig(p) ((p)->uc_mcontext.__gregs[_REG_PC])
++# define RFP_sig(p) ((p)->uc_mcontext.__gregs[_REG_X29])
++# endif
++# if defined(__mips__)
++# define EPC_sig(p) ((p)->uc_mcontext.__gregs[_REG_EPC])
++# define RFP_sig(p) ((p)->uc_mcontext.__gregs[_REG_S8])
++# endif
+ #elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ # if defined(__DragonFly__)
+ # define XMM_sig(p,i) (((union savefpu*)(p)->uc_mcontext.mc_fpregs)->sv_xmm.sv_xmm[i])
+@@ -200,6 +220,14 @@ class AutoSetHandlingSegFault
+ # else
+ # define R15_sig(p) ((p)->uc_mcontext.mc_r15)
+ # endif
++# if defined(__FreeBSD__) && defined(__aarch64__)
++# define EPC_sig(p) ((p)->uc_mcontext.mc_gpregs.gp_elr)
++# define RFP_sig(p) ((p)->uc_mcontext.mc_gpregs.gp_x[29])
++# endif
++# if defined(__FreeBSD__) && defined(__mips__)
++# define EPC_sig(p) ((p)->uc_mcontext.mc_pc)
++# define RFP_sig(p) ((p)->uc_mcontext.mc_regs[30])
++# endif
+ #elif defined(XP_DARWIN)
+ # define EIP_sig(p) ((p)->uc_mcontext->__ss.__eip)
+ # define EBP_sig(p) ((p)->uc_mcontext->__ss.__ebp)
OpenPOWER on IntegriCloud