From d592de2d14148ee61da21dbabd6603e4b55228f5 Mon Sep 17 00:00:00 2001
From: chai <chaifix@163.com>
Date: Fri, 23 Jul 2021 19:38:11 +0800
Subject: Revert "*misc"

This reverts commit a257e8db13ed740c016d1acebc6f9edc2801dac8.
---
 .../UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs            | 11 -----------
 .../UnityEngine.UI/UI/Core/UIControls/InputField.cs           |  1 -
 2 files changed, 12 deletions(-)

(limited to 'Assets/uGUI-2017.1/UnityEngine.UI/UI')

diff --git a/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs b/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs
index ad6e8c2..6690060 100644
--- a/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs
+++ b/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs
@@ -1,7 +1,6 @@
 using System;
 using System.Collections.Generic;
 using UnityEngine.UI.Collections;
-using System.Threading;
 
 namespace UnityEngine.UI
 {
@@ -111,22 +110,12 @@ namespace UnityEngine.UI
             }
         }
 
-        private void Foo()
-        {
-            GameObject go = GameObject.Find("Canvas");
-            UISystemProfilerApi.AddMarker("MaskableGraphic.cullingChanged", go);
-            Thread.Sleep(100);
-        }
-
         private static readonly Comparison<ICanvasElement> s_SortLayoutFunction = SortLayoutList;
         // ����Ⱦcanvas֮ǰ��canvas�µ�Ԫ�ؽ���rebuild
         // ���� prelayout -> layout -> postlayout -> prerender -> LatePreRender ����
         private void PerformUpdate()
         {
             UISystemProfilerApi.BeginSample(UISystemProfilerApi.SampleType.Layout);
-
-            Foo();
-
             CleanInvalidItems();
 
             m_PerformingLayoutUpdate = true;
diff --git a/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/UIControls/InputField.cs b/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/UIControls/InputField.cs
index 99dbf1a..ed39020 100644
--- a/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/UIControls/InputField.cs
+++ b/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/UIControls/InputField.cs
@@ -1572,7 +1572,6 @@ namespace UnityEngine.UI
             UISystemProfilerApi.AddMarker("InputField.value", this);
             if (onValueChanged != null)
                 onValueChanged.Invoke(text);
-
         }
 
         /// <summary>
-- 
cgit v1.1-26-g67d0